Home / Docs Center / Device API Reference / RecordingPlayback URL

RecordingPlayback URL

Device API Reference · Recording & Playback

Project: Device API Documentation (New) | page_id: 369

[TOC]

Brief Description
  • Recording playback address
Request URL
  • /xsw/api/record/hls/vod/index.m3u8
Request Method
  • POST
Parameters
Parameter Required Type Description
start_time Yes number Search start timestamp. Milliseconds since 1970
end_time Yes number End timestamp. Milliseconds since 1970
channel Yes number Current channel index, starting from 0
Response Example
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:41
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-DISCONTINUITY
#EXTINF:36.740,
1723132777703.ts
#EXTINF:35.990,
1723132814427.ts
#EXT-X-ENDLIST
Notes

If the address contains /xsw, it is an encrypted API and the token and t parameters must be added. For encryption parameters, refer to 《API Description》
For quick access to the non-encrypted API, simply remove /xsw from the url

  • Playback address example
[http://192.168.0.198/xsw/api/record/hls/vod/index.m3u8?start_time=1723132800000&end_time=1723219199999&channel=0&t=1723173310852&token=03b6d8d09e060b3a7853079d3366d949](http://192.168.0.198/xsw/api/record/hls/vod/index.m3u8?start_time=1723132800000&end_time=1723219199999&channel=0&t=1723173310852&token=03b6d8d09e060b3a7853079d3366d949)

Standalone Recording Player Web Page

http://play.platform.xstrive.com/vod?address=http://192.168.0.140&username=admin&password=admin

  • Parameter description
    username: device username
    password:device password
    address: device access address, e.g.: http://192.168.0.140  or http://serialnumber.cloud.xstrive.com:9502
    channel: channel selected by default, starting from 0
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.