Switch Off Camera

aledg

New Member
I'm using two way streaming native example.

When I stop my stream camera, my stream go down correctly but the Camera still running ... (dot red on browser tab and hardware green led on my MacBook)

I want to switch off all...

Now I'm using stream.stop();

but I think that I must to access to

localstream.getTracks()[0].stop();
 
Top