×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    36

    Post C# play media from buffer packets on the fly

    Hi All,

    I am creating an application for windows phone 8 where I have to play streamed audio RTP packet which I am receiving continuously.

    I don't want to store it and play it again. I will keep on receiving packets and I directly want to play that.

    I think MediaElement will not work as its not allow to play streamed buffer audio.

    Will XAudio2 suites my requirement here?

    I tried many solution. Can I use XNA sound effect to play streamed audio packets?

    Does anyone knows any working code to play streamed audio from buffer?

    Thanks

  2. #2
    Registered User
    Join Date
    Feb 2013
    Posts
    25

    Re: C# play media from buffer packets on the fly


  3. #3
    Registered User
    Join Date
    Mar 2013
    Posts
    36

    Re: C# play media from buffer packets on the fly

    Thanks for the link, I have read and tried it. But it was just planning some noice not actual sound packets what we are speaking. Then I have changed the frequency from 44100 to 8000. It again just some noise.

    Thats why I was thinking may be using xna and sound effect class we can play RTP packets.

  4. #4
    Registered User
    Join Date
    Mar 2013
    Posts
    36

    Re: C# play media from buffer packets on the fly

    Guys I found a solution using xna where I am able to play audio directly from RTP packets. I will post my code soon.

    Thanks

  5. #5
    Nokia Developer Champion
    Join Date
    Jul 2012
    Posts
    88

    Re: C# play media from buffer packets on the fly

    Glad to hear that, Can you maybe post a wiki article about it ?

  6. #6
    Registered User
    Join Date
    Mar 2013
    Posts
    36

    Re: C# play media from buffer packets on the fly

    Yeah I would love to do that. Thanks

Similar Threads

  1. How to play media file in System media player in j2me????
    By mohammad_kaied in forum Mobile Java Media (Graphics & Sounds)
    Replies: 14
    Last Post: 2014-05-25, 14:57
  2. Replies: 5
    Last Post: 2012-09-04, 08:25
  3. Unable to play RTP packets
    By ramyakk in forum VoIP
    Replies: 11
    Last Post: 2010-06-04, 15:00
  4. Replies: 1
    Last Post: 2008-10-15, 16:08
  5. appending packets to a buffer
    By djazia in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-09-10, 16:18

Posting Permissions

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