ngraziano / SharpRTSP

A RTSP handling library
Other
557 stars 182 forks source link

JPEG Payload and missing H265 Donl management #94

Closed Revan1985 closed 10 months ago

Revan1985 commented 10 months ago

Since I am using this project for my work, I am sharing the additions we have done for it.

Added the missing JPEG Payload handle. As we have seen, you are missing H265 DONL check for H265 (one of our camera needs it). We have also updated the check for payload, since some cameras share 2 streams (H264/5), but returns in a messy way, so need to check the Payload number with one returned in fmtp

Revan1985 commented 10 months ago

I forgot. The JPEG works with cams up to 1920*1080 , but 4k does not returns the format size, so, not sure this will work (using ffmpeg for video decoding, and frame are just skipped).

ngraziano commented 10 months ago

Thanks for this code.