Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microphone icon stays active on browser #25

Open
gregoriusus opened this issue Jan 18, 2022 · 2 comments
Open

Microphone icon stays active on browser #25

gregoriusus opened this issue Jan 18, 2022 · 2 comments

Comments

@gregoriusus
Copy link

gregoriusus commented Jan 18, 2022

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
Copy link
Author

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

@roman-yerin
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants