Direct Download - no timestamp



1 comment

  • Avatar
    Andrey Terentyev


    Direct download interface has been deprecated. We don't recommend using it.

    Here are interfaces where timestamp is available or can be calcualted.

    1. RTSP streaming. /{deviceId}

    2. HLS streaming. /hls/{deviceId}.m3u. Use the EXT-X-PROGRAM-DATE-TIME tag of a stream.

    The EXT-X-PROGRAM-DATE-TIME tag associates the first sample of a
       Media Segment with an absolute date and/or time.

    for calculating the timestamp, add sequentially a chunk duration to this value



    3. /media/{deviceId}.{format} - advised to be used instead of direct download.

    use mp4 format with utc parameter set to true.

    Here is an example of atom

                                    type: uuid
                                    size: 44
                                    uuid: 6d1d9b05-42d5-44e6-80e2-141daff757b2
                                    version: 1
                                    flags: 0(0x00000000)
                                    FragmentAbsoluteTime: 16741428026210000
                                    FragmentDuration: 83340000
    Comment actions Permalink

Please sign in to leave a comment.