Flashphoner media device release

Hi,

We are using Flashphoner.releaseLocalMedia(localVideo) to release the media device, when the component unmounts in react. The webcam light remains on even though, can you confirm the code is written correctly?
 

Max

Administrator
Staff member
Good day.
We cannot reproduce the problem in Media Devices example from WebSDK build 2.0.228: after clicking Test button, then Release button, the camera turns off the signal light. So please check your custom code, may be there is no video tag in localVideo div when unmount event occurs.
 
Top