playback

playback

JSON commands related to recording playback

getPlaybackCapabilities

Summary

Find playbacks capability of a device

Description

Find playbacks capability of a device

Responses
CodeDescriptionSchema
200successful operationgetPlaybackCapabilitiesResponse
400Bad Request

startPlayback

Summary

Start the playback for a specific channel

Description

Start the playback for a specific channel

Parameters

NameLocated inDescriptionRequiredSchema
channelqueryDevice channelYesinteger
streamTypequeryStream typeYesstring
preferProtocolqueryPrefer protocolYes[ string ]
fileNamequeryFile nameYesstring
startTimequerystartTime - unix timestamp. startTime should be check before fileName, if startTime exist then skip fileName, if startTime does not exist then check fileNameYeslong
Responses
CodeDescriptionSchema
200successful operationstartPlaybackResponse
400Bad Request

queryEventList

Summary

queryEventList

Description

queryEventList

Parameters

NameLocated inDescriptionRequiredSchema
resolutionqueryResolutionYesstring
startTimequerySearch event start timeYeslong
endTimequerySearch event end timeYeslong
eventTypequeryDevice event typeYesstring
channelqueryDevice channelYesinteger
Responses
CodeDescriptionSchema
200successful operationqueryEventListResponse
400Bad Request