If there is a live video feed and no audio feed then the system clock should resync to the video clock, similar to how it works for audio.
This requires prioritization of clocks (which we don't have yet) so the audio clock takes precendce, etc etc etc.
In addition, it requires the video renderer to sync the system clock. Unfortunately this also doesn't work. The attached patch tries to do this, but it makes the video (and system clock) slow down. I am not sure I understand, we will have to investigate some time. I think it may have to do with re-inventing timstamps in rtsp_datasource::run().
Log in to post a comment.