JsSIP icon indicating copy to clipboard operation
JsSIP copied to clipboard

Sync_audioMuted and _videoMuted with local mediaStream if provided

Open palmtown opened this issue 3 years ago • 1 comments

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 avatar Dec 13 '22 12:12 palmtown

These should also emit the corresponding 'muted' events.

jmillan avatar Nov 02 '23 16:11 jmillan