rtspsrc: Different npt-range (npt-start and npt-stop) in SETUP and PLAY request while getting videos from NVR
Hi,
I am trying to get recorded videos by using gstreamer from a NVR (network video recorder). I am sending start and end time with my location url, which is fine and works with ffmeg ffplay well. However I want to use gstreamer and I cannot get the recorded videos. After checking debug logs of my NVR I see that gstreamer sends the correct time with RTSP SETUP request to NVR. However it sends a totally different time with RTSP PLAY request after SETUP.
npt-start and npt-stop range changes after RSTP SETUP and before RTSP play. If I query for 2022 for example, in SETUP it is true with months day etc.., in PLAY request I see that it changed to 2145 with also wrong day month etc...
I thought this could be an issue, if not I am sorry I cannot show that it is an issue for now.
Here is my pipeline for reference:
gst-launch-1.0 rtspsrc location="rtsp://:/?uuid=&startTime=YYYYMMDDHHMMSSSSS&endTime=YYYYMMDDHHMMSSSSS" ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
time format: Year(4 digit)Month(2 digit)Day(2 digit)Hour(2 digit)Minute(2 digit)S(5 digit)