Skip to content

rtpsession: support buffer lists on recv path

In a high throughput scenario overhead can add up quickly, using buffer lists can help reduce it.

The GStreamer rtpsession element supports pushing buffer lists downstream when sending packets but not when receiving them from upstream elements, this series adds support for that and provides some tests for when rtpbin and rtpsession use buffer lists.

For these improvements to be actually useful udpsrc would need to support buffer lists too, which it doesn't yet, but I understand there is some work already done by @tpm in that direction. For the time being I tested the improvements by using a payloader upstream and the results are encouraging.

The series starts with adding support for buffer lists to rtpsession, then proceeds with porting the rtpbin_buffer_list test to GStreamer 1.0, and finally some more tests are added to rtpbin_buffer_list.

The work is sponsored by Collabora and @ocrete took a first look at it.

Thanks, Antonio

Edited by Antonio Ospite

Merge request reports