Skip to content

Conversation

jparez
Copy link
Contributor

@jparez jparez commented Sep 10, 2025

Description

fix: camera set to false make mousevents failed

If mediamanager is not load (when camera is set to false by example) this.instance.mediaManager is undefiened and this.instance.mediaManager.isMuted throw an error so mouseevents are never send

  • move api logic to mute / unmute from mediaManager to apiManager, this way even if camera is disable video can be mute / unmute
  • change isMuted variable name by isForceMuted
  • adding CSS to video elements to avoid the border on click

Type of change

  • Bug fix (non-breaking change which fixes an issue)

If mediamanager is not load (when camera is set to false by example) this.instance.mediaManager is undefiened and this.instance.mediaManager.isMuted throw an error so mouseevents are never send

- move api logic to mute / unmute from mediaManager to apiManager, this way even if camera is disable video can be mute / unmute
- change isMuted variable name by isForceMuted
@jparez jparez requested a review from caarmen September 10, 2025 10:35
@jparez jparez changed the title [PLLAYER-90] fix camera false make mousevents failed [PLAYER-90] fix camera false make mousevents failed Sep 10, 2025
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

Successfully merging this pull request may close these issues.

2 participants