Robin
Robin

Reputation: 1022

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

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?

Upvotes: 6

Views: 2737

Answers (2)

Jeremiah Morrill
Jeremiah Morrill

Reputation: 4268

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.

Upvotes: 3

sipsorcery
sipsorcery

Reputation: 30699

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.

Upvotes: 5

Related Questions