BogdanovKirill / RtspClientSharp

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

How to get video stream information? #128

Open theateist opened 1 year ago

theateist commented 1 year ago

I use RtspClientSharp to receive video frames from rtsp stream. The library allows just to receive the frames. But, I need to get information about the stream, such as bitrate, codec and etc. I don't see that there is currently an option for this.

  1. Do I need to modify the code to support this?
  2. Other alternative is to write a helper code which uses ffmpeg in c++ which will also connect to the stream, get the stream information and send it back to my c# code. Is this a better alternative?