V5 Audio mapping Get associated device id from api
AnsweredHi,
Is there an API endpoint that give us the associated 2 way audio device?
For example we have a camera 1 that is mapped to speaker 1.
If we use a HTTP GET to get the camera info for camera 1, is there a field that tells us the id of speaker 1?
Thank you!
-
Hello,
Please see our example on GitHub how to work with 2-way audio
JIRA-VMS-36624
0 -
Hi Andrey Terentyev,
Could you provide the rest api endpoint that gives us the device mapped to the camera? I can't find it in that link.
Thanks,
Dean
0 -
Could you provide the rest api endpoint that gives us the device mapped to the camera? I can't find it in that link.
I'm afraid I don't understand your question. What do you mean by mapping?
For example we have a camera 1 that is mapped to speaker 1.
How "speaker 1" is connected to your Server or camera?
Is there an API endpoint that give us the associated 2 way audio device?
There is no such API.
If a camera supports audio or 2-way audio, the audio stream from a camera can be received via the HTTP Streaming media interface /media/{deviceId}.{format} with audio_only parameter set.
For sending audio to a camera, the Audio backchannel streaming /api/http_audio interface can be used.
0 -
I'm afraid I don't understand your question. What do you mean by mapping?
I am talking about the 2 way audio drop down in this article:
https://support.networkoptix.com/hc/en-us/articles/7613206388631-Nx-Audio-Video-Mapping
How "speaker 1" is connected to your Server or camera?
I connected them using the following steps:
- To transmit the audio to another device (Audio output/audio destination):
a. Check the Enable 2-way audio option
b. Select a camera from the dropdown.
Note: 2-way audio option is now available for all devices with or without the function.
So I was hoping if I got the device info using a rest api get request I might be able to see any devices its connected to using the steps above
0 - To transmit the audio to another device (Audio output/audio destination):
-
Hi,
What are OS and VMS versions you're using?
0 -
We suspect it's a bug.
I've passed the issue to our dev for verification.
I'll update here as soon as I receive any news.0 -
Hi,
The bug has been fixed.
Please check with the latest patch for v5.0.
0
Please sign in to leave a comment.
Comments
7 comments