BogdanovKirill / RtspClientSharp

Pure C# RTSP client for .NET Standard without external dependencies and with true async nature. I welcome contributions.
MIT License
706 stars 284 forks source link

Multiple Rtsp player #47

Open leonylcabidog opened 5 years ago

leonylcabidog commented 5 years ago

Hi good day,

This is a cool application, the only rtsp player that has no delay that i found.

I have a problem though, i am new to C#. I tested the SimpleRtspPlayer for the application that i am developing, I was able to send frames to python script via websocket for object detection and receive result to display an overlay text to the player. But since im new to C# i am having problem creating a multiple player on a single WPF Window, I dont have much background on ffmpeg and MVC on C# so its a bit confusing for me.

Can you please help me out with this? or maybe point me to a right direction on what to do. I am bit of a hurry to study how codecs work and test it. I am willing to make a donation.

By the way, the project that i am trying to create is a DVR like windows application.

Thank you, Leonyl

BogdanovKirill commented 4 years ago

Hello,

Did you resoulve your issue? It seems that you should place several instances of VideoView on your window and create several RealtimeVideoSources and then just assign RealtimeVideoSources to VideoViews. You don't need even MVC to test.

rsoltesz commented 4 years ago

I am actually implementing something similar - I got multiple streams on one view, I was wondering if there is an easy way to make them sync?

I'm thinking that I may need to buffer what frames are going to the main view, so that I can use the timestamp to sync them up, and utilize the buffer to make sure I have enough time to complete the operation.