a control to play incoming RTP (over UDP) stream

5 posts, 0 answers
  1. Roman
    Roman avatar
    2 posts
    Member since:
    May 2011

    Posted 16 May 2011 Link to this post

    Can MediaPlayer (or some other teleric control) be used to render a video received as a RTP stream (over UDP) on a specified port?
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 17 May 2011 Link to this post

    Hi Roman,

    RadMediaPlayer is simply a wrapper around Silverlight's MediaElement. I am not sure what is the current support for UDP is. However, I've found this thread which might be useful. Let me know how it goes.

    Kind regards,
    Kiril Stanoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Nina
    Nina avatar
    5 posts
    Member since:
    Jun 2010

    Posted 08 Mar 2012 Link to this post

    Dear Administrator,
    I am sorry.
    Is it true? Telerik MEdia Player CANNOT play stream.
    I am using Silverlight MediaPlayer from Windows.Controls to play Back stream from "TExt to Speech".
    And Now try to use Silverilght Telerik MEdiaPLayer.  And I got MediaElement equals NULL.
    Tell me, please ,  Is it no chance to use Telerik for stream not for file?
    THank you advanced.
    Nina
  5. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 13 Mar 2012 Link to this post

    Hello,

    Telerik MediaPlayer is able to play media from stream. You could check following help article about smooth streaming: http://www.telerik.com/help/silverlight/radmediaplayer-smoothstreaming.html and check our online demo: http://demos.telerik.com/silverlight/#MediaPlayer/SmoothStreaming (an example how to play media from stream).

    You could take a look at the following MSDN article about the UDP support in SIlverlight: http://blogs.msdn.com/b/ncl/archive/2009/11/18/udp-multicast-in-silverlight-4.aspx.

    Finally, I'm not sure why you are getting the MediaElement of RadMediaPlayer to be null. There are several scenarios that cross my mind:
    1) If you have changed the control template, there could be no MediaElement in the template.
    2) If you are trying to retrieve the element before the control has been properly loaded. The Loaded event would be a good place to retrieve the MediaElement.
    3) If RadMediaPlayer is created programmatically and has not been added to the visual tree.
    If your case does not belong to neither of the above scenarios, the best way to assist you would be to provide (a download link)  us a simple project that we could investigate in detail.

    Hope this helps. Don't hesitate to contact us if you need further assistance.

    Regards,
    Hristo
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Nina
    Nina avatar
    5 posts
    Member since:
    Jun 2010

    Posted 13 Mar 2012 Link to this post

    Thank you, it helps.
    NIna
Back to Top
DevCraft banner