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
{{ message }}
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
When we have more than a stream, then the below logic cause overwrite the previous bonded reader. This issue related to webrtc-rs/webrtc#138
/// bind_rtcp_reader lets you modify any incoming RTCP packets. It is called once per sender/receiver, however this might
/// change in the future. The returned method will be called once per packet batch.
async fn bind_rtcp_reader(
&self,
reader: Arc<dyn RTCPReader + Send + Sync>,
) -> Arc<dyn RTCPReader + Send + Sync> {
{
let mut parent_rtcp_reader = self.internal.parent_rtcp_reader.lock().await;
*parent_rtcp_reader = Some(reader);
}
Arc::clone(&self.internal) as Arc<dyn RTCPReader + Send + Sync>
}
We can resolve this by wrapper a new RTCPReader for each bonded reader.