RTSP Absolute date time seeking with fragmented files
Hi I've a RTSP server which works as a VMS recording server. I have a TS files fragments (recorded by splitmuxsink) and database which stores metadata for each fragment like fragment id, start time and end time.
Right now I'm able to load fragments (using splitmuxsrc) and stream them to client as if it was one large video file. Now what I would like to do is to implement seeking by datetime. I would like to ask you what would be the best way to handle seek request from the client (range header) so I can load correct TS fragment and seek in it to a specific position.