I'm looking into an issue with a camera where it initially fails to start streaming because of a wrong ssrc. I believe this camera's RTSP impemntation is also buggy as mpv (via ffmpeg) throws a warning before finally playing the video:
I haven't done a deep dive in the packets yet, but I noticed that the issue only occurs once, at the start of the stream; and that removing the bail! alleviates the issue. My gut is telling me here that maybe we could ignore the ssrc mismatch if seen_packets is 0.
I'm looking into an issue with a camera where it initially fails to start streaming because of a wrong ssrc. I believe this camera's RTSP impemntation is also buggy as mpv (via ffmpeg) throws a warning before finally playing the video:
I haven't done a deep dive in the packets yet, but I noticed that the issue only occurs once, at the start of the stream; and that removing the
bail!
alleviates the issue. My gut is telling me here that maybe we could ignore thessrc
mismatch ifseen_packets
is 0.