rtph264pay: add support for STAP-A bundling
Submitted by Dirk-Jan C. Binnema
Link to original bug (#792825)
Description
Created attachment 367317
Patch implementing STAP-A for the RTP H.264 payloader
RFC 6184 (https://tools.ietf.org/html/rfc6184#section-5.7) describes how to aggregate (bundle) small RTP packets (typically SPS/PPS); this can improve bandwidth in some cases.
The rtph264depay already supports depayloading such bundled packets, but so far the payloader does not rtph264pay does not; attached patch attempts to change that.
Some notes:
- By default, no aggregation is done, but there's a property "do-aggregate" now to enable this
- I've attempted to change the existing payloader as little as possible
Patch is against git HEAD.
Patch 367317, "Patch implementing STAP-A for the RTP H.264 payloader":
stap-a.patch