This patch will cleanup participant's buffers (both the encoder queue and jitter buffer) when the muted status changes, the whole room muted status is changed through the mute_room API or the user changes room with the changeroom API.
The rationale is to avoid having spurious packets in the buffers when users get unmuted.
… property changes or the whole room is muted
This patch will cleanup participant's buffers (both the encoder queue and jitter buffer) when the
muted
status changes, the whole roommuted
status is changed through themute_room
API or the user changes room with thechangeroom
API. The rationale is to avoid having spurious packets in the buffers when users get unmuted.