oanguenot / webrtcmetrics

Aggregate stats received from the WebRTC stack
MIT License
34 stars 11 forks source link

Only one stream collected when ssrc is identical for both incoming and outgoing streams #38

Open oanguenot opened 7 months ago

oanguenot commented 7 months ago

SSRC ID is used to identify the stream. But in some cases, an inbound SSRC ID can match an outbound SSRC ID (eg: echo-test). The consequence is that only one stream is visible in the report (depending on the last report received)

Use the ID or the report (inbound/outbound) to differentiate these streams