I am using API from MIP, I need to know mic id by camera id.
how can i know ?
My version is 2023 R2.
I am using API from MIP, I need to know mic id by camera id.
how can i know ?
My version is 2023 R2.
I recommend that you explore the Config Dump plugin sample.
https://github.com/milestonesys
What you will discover is that the camera has a related property that contains related microphone, speaker and metadata channels.
The VMS admin can setup that a microphone from one physical camera is the related microphone for another physical camera, which is practical in some scenarios.
How can I add a relation in the management client?
(I want to add a microphone to the camera)
I can’t get microphones connected to the camera via the API
can you help me please!
You configure it in the Management Client (MC)..
https://doc.milestonesys.com/latest/en-US/standard_features/sf_mc/sf_ui/mc_devicestabs_devices.htm?cshid=9869#ClienttabdevicesIf you get something different by using the Config Dump plugin sample than you see in the MC then please tell what you do and what you observe. I can probably help if I understand the situation.
I use the API, I added a microphone to the camera as in the screenshot you attached, in practice how can I know through the API the information which microphone is connected to the camera ?
Can you please tell me, doesn’t the Config Dump plugin sample show this?
https://developer.milestonesys.com/s/article/debugging-techniques-for-Smart-Client-plugins
I work with an API in front of the management, by HTTP calls, in the Config Dump plugin sample they don’t use it that way
(https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/)
The question is tagged “Plugin Integration” and that is why I answered this way. Please ask questions under the topic “Protocol Integration” if that is what you seek. Alternatively, please add more context to your question.
On the ServerCommandService (SOAP) you do a GetConfiguration. In the configuration XML you can find the camera and the microphone and you can find a DeviceMapping linking the two.
I put a breakpoint in while using the TCPVideoViewer to see the configuration XML, this might also be an idea for you depending on how much you have already developed.
If you have read all of the above you see how I managed to give correct answers that did not fit as they were not on the API = Rest API
If you want to see the answer that is using the right API - https://developer.milestonesys.com/s/question/0D5bH00000BItj9SAD/get-microphone-id-by-camera-id-by-api