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

Throw B-frame not supported exception #50

Open IvanovNiko opened 5 years ago

IvanovNiko commented 5 years ago

Hi, Kirill.

We discussed before that B-frames not supported in library (https://github.com/BogdanovKirill/RtspClientSharp/issues/39). We offer to throw exception if B-frames parsed in RtspClientSharp library. It better solution than to hide the problem and skipping B-frames because next frames will be bad until next I-frame will be recieved. If we would recieving an exception it woudl help us to handle this situation accordingly.

Thank you.

BogdanovKirill commented 5 years ago

Hello,

Agree