Open christopher-wilke opened 1 year ago
Sounds frustrating. A few questions:
--initial-timestamp=permissive
to the command help?PLAY
response has a RTP-Info
header with a rtptime
parameter and how that compares to the RTP timestamps in the actual data stream. (I can also add some logging around this...)Thx for your quick feedback.
Sounds frustrating. A few questions:
Does this happen immediately every time you run the example? Yes
What RTSP server are you using (for a camera, make/model/version)? I am using https://github.com/aler9/rtsp-simple-server
Does adding
--initial-timestamp=permissive
to the command help? I will test this parameter by next week 👍Are you able to / interested in getting a packet capture with e.g. Wireshark? If you don't want to share it publicly with your camera's IP/MAC/etc, I'm happy to look at it privately instead. I'm wondering if e.g. the RTSP
PLAY
response has aRTP-Info
header with artptime
parameter and how that compares to the RTP timestamps in the actual data stream. (I can also add some logging around this...) I will provide you some Wireshark data as soon as possible :+1:
Here are some updates:
Does adding --initial-timestamp=permissive to the command help?
The parameter --initial-timestamp=permissive
did not fix the issue
I will try to provide a Wireshark protocol later
Any update? I'm curious to see the Wireshark capture.
Do you know if your camera uses B-frames? This is likely the same thing as #61 if so.
I am trying to run the
mp4
sample:cargo run --package client mp4 --url rtsp://ip.address.goes.here/ --username admin --password test out.mp4
This is the output I get: