Versions Compared

Key

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

...

General request format:

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 playing sound from archivearc.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.com:[port]/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=XXXUSER&password=YYY

audio_in – audio stream ID;

format – requested format (only L16 yet);

time_from - start time of archive playing back;

time_to - end time of archive playing back.

PASS

Response example:

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