Go to documentation repository
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}
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 | Axxon PSIM username, if set |
password | No | Axxon PSIM user password, if set |
GET http://127.0.0.1:8085/web2/secure/video/action.do?version=1.0.1.224&sessionid=FC126734&command=audio.play&audio_in=MIC:5&format=L16&login=USER&password=PASS
Audio packets of the following view will be received:
HTTP/1.0 200 OK Connection: close Server: AxxonSoft-PSIM-Webserver/1.0.1.224 Cache-Control: no-store,no-cache,must-revalidate,max-age=0 Pragma: no-cache Date: Mon, 13 Jan 2023 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: 2023-03-22T13:16:31.371+04:00 <audio packet PCM16> --audioframe Content-Type: audio/L16;rate=8000;channels=1 Content-Length: 1278 X-Time: 2023-03-22T13:16:31.873+04:00 <audio packet PCM16>