Skip to content

rtpbin: Allow reusing the sender AUX bin

This is needed for the case you don't know in advance all the sessions you will be using, but would like to place all the related AUX element in the same GstBin. As per current implementation, each time an sender AUX bin is requested and returned, RTPBin will walk the src pads and create sessions for these pads.

In the current implementation, if a src pad already have a sessions, it returns an error and stops. As a side effect, if an AUX bin is reused in a following AUX bin request, it can only work if the pads are created on the last request.

This change simply relax the restriction in order to keep walking, and just ensure that all newly created pads have a sessions.

Merge request reports