question

TregnerVclav-0656 avatar image
0 Votes"
TregnerVclav-0656 asked ChrisWhilar-8381 answered

Azure Communication services - video devices are not updated after disconnecting

Hello,
I have web application using ACS with page showing Local video preview. I listen on events "videoDevicesUpdated". When new USB camera is added, everything works fine, I'm notified about new camera, but when camera is disconnected during local video preview, I am not nofied about change. DeviceManager.getCameras() still returns disconnected camera even if I restart application. I have to close and restart browser (Chrome) to get correct list of cameras.

azure-communication-services
· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @TregnerVclav-0656 , sorry for the issues, but thank you for the feedback. To help us troubleshoot this would you mind collecting some information and we can have the team look at it? We will need:

0 Votes 0 ·

@TregnerVclav-0656,

Just wanted to follow up on the above request for your call id and logs so we can better assist you.

0 Votes 0 ·

Hi,
I have attached 2 logs. One with correct behaviour and other with bad. In both, you will find message "HERE I DISCONNECT CAMERA", this is the point where I am going to disconnect USB camera. In OK log, there is message "emit videoDevicesUpdated" after disconnecting camera, NOK log doesn't contain this.
I am in local preview phase - before call is initiated.

102901-localhost-1622793496754-ok.log102902-localhost-1622794001071-nok.log


0 Votes 0 ·

Hi @TregnerVclav-0656 wanted to update you that we're tracking this item internally and will provide an update when we can.

0 Votes 0 ·

Hi TragnerVclav, may i ask, what platform/browser you are using?

0 Votes 0 ·

Please make sure that you are using our supported platforms: https://docs.microsoft.com/en-us/azure/communication-services/concepts/voice-video-calling/calling-sdk-features#javascript-calling-sdk-support-by-os-and-browser

Please make sure all your platform/browser versions are up to date.

0 Votes 0 ·

Chrome browser, Windos, application is in Angular 11. Thanks

0 Votes 0 ·
Show more comments

1 Answer

ChrisWhilar-8381 avatar image
0 Votes"
ChrisWhilar-8381 answered

Hi @TregnerVclav-0656, we found the issue and we are working on fixing it. This fix will be available on the next release.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.