I want to play remote video/audio file from nokia c6, N82, 5800 XpressMusic mobile (Mobile is connect to WLAN for internet). I use code like
Phonon::MediaObject m_MediaObject;
Phonon::AudioOutput m_AudioOutput;
MediaVideoWidget *m_videoWidget;
Phonon::Path m_audioOutputPath = Phonon::createPath(&m_MediaObject, &m_AudioOutput);
Phonon::Path path= Phonon::createPath(&m_MediaObject, m_videoWidget);
Phonon
::MediaSource src
=Phonon
::MediaSource(QUrl("http;//172.168.10.3/videos/1.mp4")));
m_MediaObject.setCurrentSource(src);
m_MediaObject.play();
Phonon::MediaObject m_MediaObject;
Phonon::AudioOutput m_AudioOutput;
MediaVideoWidget *m_videoWidget;
Phonon::Path m_audioOutputPath = Phonon::createPath(&m_MediaObject, &m_AudioOutput);
Phonon::Path path= Phonon::createPath(&m_MediaObject, m_videoWidget);
Phonon::MediaSource src=Phonon::MediaSource(QUrl("http;//172.168.10.3/videos/1.mp4")));
m_MediaObject.setCurrentSource(src);
m_MediaObject.play();
To copy to clipboard, switch view to plain text mode
//////////////////////////////////////////////////////////////////
it works fine on QT Simulator. But doesn't work on nokia devices. it shows an error.
Loading clip failed: Not supported.
I use in project (.pro) file the capability like
CONFIG += mobility
MOBILITY += multimedia
symbian {
TARGET.UID3 = 0xe0e5de6d
TARGET.CAPABILITY = NetworkServices MultimediaDD
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
}
BUT it doesn't work.
BUT the same file I can play keeping on mobile device memory card like local file.
please can you help me about this matter.
I am trying to solve it for a few days but no solution I get.
please help me.
hArUn.
Bookmarks