Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there simple way to play an rtp video/audio stream in WPF?

Tags:

wpf

streaming

rtp

I need to create a WPF control that will play an rtp stream with the requirement that the latency needs to be as low as possible.

I've looked at the following two projects:

http://vlcdotnet.codeplex.com/
http://wpfmediakit.codeplex.com/

As far as I know, I can't use VLC because we're shipping a commercial application with a more restrictive license than GPL (i.e. we can't ship our source).

Wpf media kit is nice, but I can't seem to find a good/free rtp directshow source filter and I wanted to ask if there is a simpler solution out there that I'm missing before I jump into writing my own.

Any ideas?

like image 461
Robin Avatar asked Jun 02 '10 16:06

Robin


2 Answers

VLC uses the LIVE555 library for the RTP/RTSP side of things so perhaps that will be useful to you, it's licensed under LGPL. It is a C++ library so you'd have to get out pinvoke and since I haven't ever used the library I can't say how difficult that would be.

There is pjsip.net but looks like it's GPL since that's what the underlying pjsip and pjmedia are.

Here's a handy list of RTP stacks.

like image 107
sipsorcery Avatar answered Nov 08 '22 18:11

sipsorcery


There's not simple solution that I've come across. I have made RTSP filter's in the past using LIVE555, but I don't think that falls into the realm of "easy".

I did see this on source forge, but I read comments questioning if it even works.

like image 39
Jeremiah Morrill Avatar answered Nov 08 '22 18:11

Jeremiah Morrill