get-video-player-status

Use the interface to get the video player status information of the current presentation scene.

Request Mode

 POST http://ip/mwapi/get-video-player-status

Response Body

JSON structure is as follows:

{
    "status":0,
    "info":[
        {
            "layerId":1,
            "playStatus":1,
            "progress":16664,
            "sourceDuration":120000,
            "sourceId":101
        }
    ]
}
Name Description
status 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values.
layerId The layer ID, that is, the index in the layer list
sourceId The source ID
playStatus The play status
0: pause
1: playing
progress The play progress (0 - 1000000)
sourceDuration The length of the video, in ms

results matching ""

    No results matching ""