Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Play live video:

Code Block
sendMessage({ type: 'init', mode: 'live', origin: 'SERVER1/DeviceIpint.1/SourceEndpoint.video:0:0'});

Go to the archive mode:

Code Block
sendMessage({type: 'archive'})

Go to the live mode:

Code Block
sendMessage({type: 'live'})

Start the playback of archive video:

Code Block
sendMessage({type: 'play'})

Stop the video:

Code Block
sendMessage({type: 'stop'})

Go to a certain time in archive mode:

Code Block
sendMessage({type: 'setTime', time: new Date("2019-07-25 09:00:00")});


Note
titleAttention!

The date should be in ISO 8601 format.