If you want to send stats from a bridge, you need to integrate with our REST API and this changes should be reflected within the originID. Let’s take an example call with Alice, Bob and Charlie using a Bridge. For this particular type of bridge, there is always one outgoing stream towards the bridge, and as many incoming streams as there are participants in a conference. In this case, the bridge will receive 3 streams, one from each participant. It will send out 2 streams towards each participant. For Bob's case: Bob will send its streams to the bridge and will receive 2 streams, one from Alice and one from Charlie.
When reporting stats callstats.io, we expect you to send stats for all the 9 streams from the bridge. Let’s look at the 9 cases in terms of incoming and outgoing: