Go to documentation repository
Previous page Next page
POST http://IP address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&command=audio.receive&audio_out={audio_out}&login={login}&password={password}
For the request to work correctly, you must specify the following in the Headers: Content-type: audio/L16; rate=8000; channels=1. Enter any value in the Body.
Parameter | Required | Description |
|---|---|---|
| version | Yes | See Product version |
| sessionid | No | Session ID |
| command | Yes | Command to send live audio: audio.receive |
| audio_out | Yes | Speaker ID in the format "TYPE:ID", for example "SPEAKER:1" |
| login | No | Axxon PSIM username, if set |
| password | No | Axxon PSIM user password, if set |
POST http://127.0.0.1:8085/web2/secure/video/action.do?version=1.0.1.224&sessionid=FC126734&command=audio.receive&audio_out=SPEAKER:3&login=USER&password=PASS
Sending audio is performed by sequentially transmitting packets using commands:
Content-type: audio/L16;rate=8000;channels=1 Connection: keep-alive
Next, the audio packet is transmitted.
Parameter | Description |
|---|---|
| L16 | The audio format is L16 only |
| rate | Any rational value |
| channels | Channel from 1 to 6 |