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.
Microsoft developed this kind of file format as a constituent of Video for windows operating system. The AVI file format does not only let you stream videos and audios online but also synchronous audios with video playback.
You can open AVI files with various video players, such as Microsoft Movies & TV (Windows), Microsoft Windows Media Player (Windows), Apple QuickTime Player (macOS), Adobe Premiere Pro (multiplatform), and VLC media player (multiplatform).
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.
I have used http://www.streamcoders.com/products/rtpnet.html.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With