Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Playing sound from archive  Users Next page


General request format:

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}

Request parameters:

Parameter

Is required

Description

versionYes

See Product version

sessionidNoSession ID
commandYes

Command to sending live sound: audio.receive

audio_outYes

Speaker ID in the format "TYPE:ID", for example "SPEAKER:1"

login NoAxxon PSIM username, if set
passwordNoAxxon PSIM user password, if set

Request example:

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

Response example:

Sending of sound is performed by serial communication of packets using commands:

Content-type: audio/L16;rate=8000;channels=1
Connection: keep-alive

Then audio packet transmission will perform.

Response parameters:

Parameter

Description

L16Format of sound – only L16
rateAny rational value
channelsChannel from 1 to 6
  • No labels