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

H264 PFrames are not decoded #81

Closed ffghts-f closed 4 years ago

ffghts-f commented 4 years ago

Hi, trying to decode my H264 stream with your library. But instead of 25 FPS I only have 1 FPS. The IFrames are all decoded correctly. But my PFrames always return null (status code -3. According to videodeconding.cpp the rawBufferLength is wrong). This happens with different cameras (Sanyo VCC-HD2100P/Arecont @#AV2100M-AI)

Is there anything else you need to know to decode the PFrames?

ffghts-f commented 4 years ago

Okay, it was my fault. I used the wrong codec.