You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publish a MediaStreamTrack using room.localParticipant.publishTrack(videoTrack,...)
revoke camera access permission (in chrome)
Expected behavior
The LocalTrackPublication is muted and the localTrackMuted event is triggered
The RemoteTrackPublication is muted for anyone subscribed to the published camera and the trackMuted event is triggered.
Actual behavior
The LocalTrackPublication is not muted and nolocalTrackMuted event is triggered (however the LocalTrackPublication.isUpstreamPaused is set to true and the LocalTrack.upstreamPaused event is trigged)
The RemoteTrackPublication is muted for anyone subscribed to the published camera and the trackMuted event is triggered.
System Info
OS: Mac OSX 12.5.1 (21G83)
Browser: Chrome Version 106.0.5249.61 (Official Build) (arm64)
livekit-js: 1.5.0
Severity
serious, but I can work around it
Additional Information
It looks like LocalParticipant.onTrackUpstreamPaused handles UpstreamPaused the same way as Muted which is why the state is correctly propagated to the remote participants but not the local participant.
The text was updated successfully, but these errors were encountered:
davideberlein
changed the title
Revoking camera access in browser pauses upstream but doesn't mute track locally
Revoking camera access in browser mutes remote track but doesn't mute local track
Oct 28, 2022
Describe the bug
Steps to reproduce
MediaStreamTrack
usingroom.localParticipant.publishTrack(videoTrack,...)
Expected behavior
localTrackMuted
event is triggeredtrackMuted
event is triggered.Actual behavior
localTrackMuted
event is triggered (however theLocalTrackPublication.isUpstreamPaused
is set to true and theLocalTrack.upstreamPaused
event is trigged)trackMuted
event is triggered.System Info
Severity
serious, but I can work around it
Additional Information
It looks like
LocalParticipant.onTrackUpstreamPaused
handlesUpstreamPaused
the same way asMuted
which is why the state is correctly propagated to the remote participants but not the local participant.The text was updated successfully, but these errors were encountered: