vertojs icon indicating copy to clipboard operation
vertojs copied to clipboard

Microphone icon stays active on browser

Open gregoriusus opened this issue 3 years ago • 2 comments

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.

gregoriusus avatar Jan 18 '22 15:01 gregoriusus

I just can't get rid of microphone indicator when call hangs up. Roman, do you see microphone indicator in demo after call ends?

gregoriusus avatar Jan 27 '22 23:01 gregoriusus

I think you have to close the media stream acquired from getUserMedia, this is not about the verto protocol.

roman-yerin avatar Nov 13 '22 16:11 roman-yerin