Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
General request format:
GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&command=audio.play&audio_in={audio_in}&format={format}&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" |
login | No | Intellect username, if set |
password | No | Intellect user password, if set |
Request example:
GET http://127.0.0.1:8085/web2/secure/video/action.do?version=4.9.0.0&sessionid=FC126734&command=audio.play&audio_in=MIC:5&format=L16&login=USER&password=PASS
Response example:
Audio packets of the following view will be received:
HTTP/1.0 200 OK Connection: close Server: Intellect-Webserver/4.9.0.0 Cache-Control: no-store,no-cache,must-revalidate,max-age=0 Pragma: no-cache Date: Mon, 13 Jan 2013 10:44:27 GMT Content-Type: multipart/mixed;boundary=audioframe --audioframe Content-Type: text/xml Content-Length: 138 <audio_in> <sessionid>FC126734</sessionid> <audio_in>MIC:5</audio_in> <newstate>started</newstate> <errcode>100</errcode> </audio_in> --audioframe Content-Type: audio/L16;rate=8000;channels=1 Content-Length: 1024 X-Time: 2013-03-22T13:16:31.371+04:00 <audio packet PCM16> --audioframe Content-Type: audio/L16;rate=8000;channels=1 Content-Length: 1278 X-Time: 2013-03-22T13:16:31.873+04:00 <audio packet PCM16>
Overview
Content Tools