×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    19

    how to work using Phonon::MediaSource ( const QUrl & url ) to play remote video/audio

    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();

    //////////////////////////////////////////////////////////////////
    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
    symbian {
    TARGET.UID3 = 0xe0e5de6d
    TARGET.CAPABILITY = NetworkServices
    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.

  2. #2
    Registered User
    Join Date
    Mar 2011
    Posts
    19

    Re: how to work using Phonon::MediaSource ( const QUrl & url ) to play remote video/a

    is this Symbian Signed problem?

  3. #3
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: how to work using Phonon::MediaSource ( const QUrl & url ) to play remote video/a

    Its not a symbian signed problem. Its because you are trying to play it from an external URL and in this case the device cannot stream .mp4 files.

  4. #4
    Registered User
    Join Date
    Mar 2011
    Posts
    19

    Re: how to work using Phonon::MediaSource ( const QUrl & url ) to play remote video/a

    Hi kamalakshan !
    "http;//172.168.10.3/videos/1.mp4" is my local network file. and 1.mp4 is recorded on mobile and kept it on http;//172.168.10.3/videos.
    even .mp3 audio files are not played. but why?
    Other player installed on the mobile can play the file.

  5. #5
    Registered User
    Join Date
    Mar 2011
    Posts
    19

    Re: how to work using Phonon::MediaSource ( const QUrl & url ) to play remote video/a

    hi
    are there somebody to help me?
    please give me your mail ID, I will send my project for testing.

Similar Threads

  1. how to play audio/Video file?
    By maniohile in forum Symbian
    Replies: 2
    Last Post: 2010-10-18, 12:49
  2. How to play video from a URL
    By nikita51 in forum Symbian
    Replies: 11
    Last Post: 2009-11-11, 14:24
  3. Replies: 3
    Last Post: 2009-05-18, 08:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×