Created by: ramoncaldeira
Hi!
I have a use case where I would benefit from retrieving the camera's NTP time from a RTSP container. FFMPEG contains structures capable of parsing this information, but unfortunately they are internal and are not available in the public API.
I made this small patch to solve my problem. It is not generic enough, as it hardcodes ntp time into demux return. I also had to include vendor/ffmpeg-4.2
in include_dirs on setup.py.
My intention with this PR is to share the solution with you and hopely find out a way to change the code so that it can be incorporated into the project.