Versions Compared

Key

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

...

GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&command=arc.play&audio_in={audio_in}&format={format}&time_from={time_from}&time_to={time_to}&login={login}&password={password}

Request parameters:

Parameter

Is required

Description

versionYes

See Product version

sessionidNoSession ID
commandYes

Command to

getting live

playing sound from archive:

audio

 arc.play

formatYesFormat of audio data
audio_inYes

Microphone ID in the format "TYPE:ID", for example "MIC:1"

time_fromYesStart time of archive playing back
time_toYesEnd time of archive playing back
login NoIntellect username, if set
passwordNoIntellect user password, if set

...

Request example:

GET http://127.0.0.1:8085/web2/secure/video/action.do?version=4.9.0.0&sessionid=29101F1&command=arc.play&audio_in=MIC:5&format=L16&time_from=2013-03-22T13:16:31.873+04:00&time_to=2013-03-22T13:04:52.312+04:00&login=USER&password=PASS

...

Response example:

The stream will be received in the same view as in case of live sound (see Getting live sound). The end xml packet will be received when data completion (as when getting live sound (see Stop streaming live sound).