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

Sync_audioMuted and _videoMuted with local mediaStream if provided #798

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

palmtown
Copy link

@palmtown palmtown commented Dec 13, 2022

This commit resolves an issue whereby when a local mediaStream is passed as an option to the answer or call functions, the existing code does not sync the enabled status. This generates an issue as if the audio or video is already muted, JsSIP initiates it as not muted. Therefore, the class state is out of sync with the mediaStream option.

@palmtown palmtown changed the title Sync_audioMuted and _videoMuted with local mediaStream is provided Sync_audioMuted and _videoMuted with local mediaStream if provided Dec 13, 2022
@jmillan
Copy link
Member

jmillan commented Nov 2, 2023

These should also emit the corresponding 'muted' events.

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

Successfully merging this pull request may close these issues.

2 participants