Skip to content

Use lower level mute methods #3617

@toger5

Description

@toger5

Currently we use setMicrophoneEnabled and setCameraEnabled to mute/unmute.

Those methods are very "smart", they:

  • check for existing tracks
  • start tracks if required
  • publish tracks if not yet published

We do all of this in dedicated sections. So letting livekit take care of this is not necessary. It actually is bad since it might race with our own track initialisation.

Metadata

Metadata

Assignees

Labels

T-TaskRefactoring, enabling or disabling functionality, other engineering tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions