BogdanovKirill / RtspClientSharp

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

x64 build of libffmpeghelper #9

Closed TomCat666 closed 5 years ago

TomCat666 commented 5 years ago

Hi.

After all the trouble over the last few days I got everything to build and work in a few hours now. Sorry for posting an issue before that. Thank you VERY MUCH for this great library ! I do have one question. Why does one need to actually DECODE each frame in order to advance to the next frame ? I would really like to decode every 15 frames and leave the rest out (to keep the CPU down), but currently if I do that and call Decode only on every 15th frame it seems to decode the ones I purposely missed and not every 15th frame. No idea why. If I call Decode on every frame then it works fine, but my CPU goes over 90% :(

TomCat666 commented 5 years ago

Ok, of course one needs to decode all frames, since not all frames are "full" :)