vertojs
vertojs copied to clipboard
Microphone icon stays active on browser
When I make outbound call, microphone icon stays active when call is hangup.
On track event I am using code from demo: let stream = new MediaStream() stream.addTrack(track)
It adds additional track to stream although that track is initialized upon call: let call = verto.call(stream.getTracks()......
If I put stream to a class variable, I can loop through tracks of stream variable and call stop() on bye event. Then the microphone is not active anymore on the browser tab.
Is this by design? My thoughts are that after call, the microphone icon shouldn't be active.
I just can't get rid of microphone indicator when call hangs up. Roman, do you see microphone indicator in demo after call ends?
I think you have to close the media stream acquired from getUserMedia, this is not about the verto protocol.