<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi,<br></div><div> <br></div><div>I'm writing a custom header extension using GstRTPHeaderExtensionClass. Checking the implementations of the existing header extension implementations in GStreamer, I noticed that there are differences in the used API methods to update the payloader/depayloader caps. For example. rtphdrextcolorspace uses gst_rtp_header_extension_set_non_rtp_sink_caps to pass the payloader's sink caps to the extension and gst_rtp_header_extension_update_non_rtp_src_caps to update the deployader's src caps. However,  rtphdrextclientaudiolevel and rtphdrextmid use gst_rtp_header_extension_set_caps_from_attributes. Finally, rtphdrextstreamid uses none of the above methods; so it seems like it does not set any caps.<br></div><div><br></div><div>So I have two questions:<br></div><div>1. What is the difference between using these methods? <br></div><div>2. Why does rtphdrextstreamid not use any of them?</div><div><br></div><div>Thanks!<br></div><div><br></div><div id="sig67116920"><div class="signature">Best regards,<br></div><div class="signature">Serhan<br></div><div class="signature"><br></div></div><div><br></div></body></html>