Skip to content
  • François Laignel's avatar
    webrtc: add all SSRC attributes getting CAPS for a PT · 7d5bb1ea
    François Laignel authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
    The transport stream only returned the CAPS for the first matching PT entry
    from the `ptmap`. Other SSRC with the same PT where not included. For a stream
    which bundled multiple audio streams for instance, only the first SSRC was
    knowed to the SSRC demux and downstream elements.
    
    This commit adds all the `ssrc-` attributes from the matching PT entries.
    
    The RTP jitter buffer can now find the CNAME corresponding its SSRC even if it
    was not the first to be registered for a particular PT.
    
    The RTP PT demux removes `ssrc-*` attributes cooresponding to other SSRCs
    before pushing SSRC specific CAPS to downstream elements.
    
    Part-of: <!6119>
    7d5bb1ea