Now i using Onvif Bridge to playback recorded video. What i want to know is i only want to use RTSP uri to get recorded video based-on datetime. what’s the RTSP formt uri could be?
For example: rtsp:// [ONVIF Bridge IP Address]:554/vod/[Camera GUID]?datetime = [something]
Hi Youn,
As far as I know RTSP service of the Milestone ONVIF Bridge server doesn’t support similar url syntax.
But it supports regular RTSP “seeking”.
As you know in the RTSP protocol seeking is performed via parameters of the “PLAY” command.
Details could be found in the specifications itself: https://tools.ietf.org/html/rfc2326#page-33
In short Milestone RTSP service supports “Range” header/parameters in “PLAY” commands in form of Normal play time (“npt”) as well as Clock units (“clock”).
Those are samples directly copied from the RFC:
C->S: PLAY rtsp://audio.example.com/audio RTSP/1.0
CSeq: 837
Session: 12345678
Range: npt=30-
C->S: PLAY rtsp://audio.example.com/meeting.en RTSP/1.0
CSeq: 835
Session: 12345678
Range: clock=19961108T142300Z-19961108T143520Z
NPT is in seconds since the start of the RS DB.
Clock unit are in absolute UTC time.
I believe second one will be most comfortable to you.