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
I've found a bug with agents where on disconnecting/reconnecting due to temporary network failures then subscribing to a participant track the track reports as not muted even when it is muted. To reproduce use the following code and steps.
Steps to reproduce:
Join a room with a participant and publish an audio stream
Mute the audio stream
Manually disconnect internet connection (where agent is hosted) and reconnect when livekit agent logs disconnect
On re-connection of the agent the following code will log even though the participant is muted
def on_track_subscribed(
track: rtc.Track,
pub: rtc.RemoteTrackPublication,
remote_participant: rtc.participant.RemoteParticipant,
):
if track.kind == rtc.TrackKind.KIND_AUDIO and not track.muted:
logging.info("this should not log when participant is muted")
job.room.on("track_subscribed", on_track_subscribed)
The text was updated successfully, but these errors were encountered:
I've found a bug with agents where on disconnecting/reconnecting due to temporary network failures then subscribing to a participant track the track reports as not muted even when it is muted. To reproduce use the following code and steps.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: