Streaming Avi files from C# using RTP

Haim Bender picture Haim Bender · Jan 22, 2011 · Viewed 17.9k times · Source

I have a read/seek input stream of a video file (.avi mpeg4\xVid\ect..) in C# and I would like to stream it to a video player with jump to moment X feature enabled. How can I implement this?
I heard that RTP might be a good protocol.

What I'm really looking for is a library in C# that will help me out.

Thanks in advance.

Answer

asktomsk picture asktomsk · Mar 24, 2012

Yes, Streamcoders solution is very good if you have some €1890. But if you do not want to pay money you should look at some free libraries or write your own from scratch.

Take a look at these articles with C# sources:
RTP VOIP Library Project
How to use the managed RTP classes in .NET

And another good articles at CodeProject:
How to Build a .NET Softphone in C# with SIP, SDP, RTP and RTCP
How to use the managed RTP API classes in .NET to create your multicasting systems

Please do not forget to share your WPF library when you will implement it.