rtphdrext: lacking support for multiple extensions sharing the same ID
It is completely allowed to have multiple extensions sharing the same ID as specified by https://datatracker.ietf.org/doc/html/rfc5285#section-4.2
This is already reflected in gboolean gst_rtp_buffer_get_extension_onebyte_header_from_bytes (GBytes * bytes, guint16 bit_pattern, guint8 id, guint nth, gpointer * data, guint * size)
where the "nth" speaks to exactly this. The nth occurrence of an extension with the given ID.
We have a draft for a new extension header dealing with Region Of Interest, where we can have multiple RoIs, all using the same ext-id.
It would be great if the base class for doing header extensions would support this concept, multiple extensions for the same ID.