Go to documentation repository
Page History
...
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 |
|---|---|---|
| version | Yes | See Product version |
| sessionid | No | Session ID |
| command | Yes | Command to getting live sound: audio.play |
| format | Yes | Format of audio data |
| audio_in | Yes | Microphone ID in the format "TYPE:ID", for example "MIC:1" |
| time_from | Yes | Start time of archive playing back |
| time_to | Yes | End time of archive playing back |
| login | No | Intellect username, if set |
| password | No | Intellect user password, if set |
Example request:
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
Example response:
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).