Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

How to Detect Audio Parameters (Sample Rate, Format, Channels) for Two-Way Audio?

Answered

Comments

1 comment

  • Norman
    • Network Optix team

    Hi Nguyen Chi Thien,

    Most Audio settings are made in the device itself, like the codec, sample rate, and sample format. 

    To fetch the applicable data, you can use a GET rest/v3/devices/ request for all devices, or GET /rest/v3/devices/{id} for a specific device. 

    The output will look like this: LINK to PrivateBin

    Here you'll find parameters like: 

    "isAudioEnabled": true,
    "audioCodec": "PCM",
    "twoWayAudioEnabled": true,

    These can be adjust from true to false or v.v.
    The audioCodec is just informational, and cannot be changed through the Mediaserver API, and has to be changed on the device itself. 

    With kind regards. 

     

     

    0

Please sign in to leave a comment.