Skip to content

Get the playback time of the history stream

Users can get the playback time

API info

Url: /web_api/v1/media/get_playback_time

Method: GET

Content-Type:x-www-form-urlencoded

Request parameter

fieldtyperequireddesc
zlmStreamIDstringYesStream ID,returned after successful

Response Data (type:string)

Return to play time

Example

Request example

url
http://localhost:8080/web_api/v1/media/get_playback_time?zlmStreamID=7297425653840742156&_t=1699064312742
http://localhost:8080/web_api/v1/media/get_playback_time?zlmStreamID=7297425653840742156&_t=1699064312742

Response example

json
{
    "hdr":{
        "code":200,
        "message":"success"
    },
    "data":"1698803513"
}
{
    "hdr":{
        "code":200,
        "message":"success"
    },
    "data":"1698803513"
}