This is a migrated thread and some comments may be shown as answers.

a control to play incoming RTP (over UDP) stream

6 Answers 332 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Roman
Top achievements
Rank 1
Roman asked on 16 May 2011, 07:02 PM
Can MediaPlayer (or some other teleric control) be used to render a video received as a RTP stream (over UDP) on a specified port?

6 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 17 May 2011, 09:48 AM
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
0
Nina
Top achievements
Rank 1
answered on 08 Mar 2012, 07:06 PM
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
0
Hristo
Telerik team
answered on 13 Mar 2012, 12:40 PM
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 >>
0
Nina
Top achievements
Rank 1
answered on 13 Mar 2012, 02:34 PM
Thank you, it helps.
NIna
0
Elon
Top achievements
Rank 1
answered on 01 Jun 2018, 10:12 PM
Will the above solution work for WPF App?
0
Dinko | Tech Support Engineer
Telerik team
answered on 04 Jun 2018, 12:43 PM
Hello Elon,

The RadMediaPlayer control is only available for Silverlight. At this moment Telerik UI for WPF controls does not provide such control.

Regards,
Dinko
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
MediaPlayer
Asked by
Roman
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Nina
Top achievements
Rank 1
Hristo
Telerik team
Elon
Top achievements
Rank 1
Dinko | Tech Support Engineer
Telerik team
Share this question
or