Skip to content
  • Sebastian Dröge's avatar
    sdp: Add support for parsing the extmap attribute from caps and storing inside caps · 1381e3e2
    Sebastian Dröge authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
    The extmap attribute allows mapping RTP extension header IDs to
    well-known RTP extension header specifications. See RFC8285 for details.
    
    We store the extmap attribute either as string in the caps
      extmap-X=extensionname
    where X is the integer extension header ID, or as 3-tuple of strings
      extmap-X=<direction,extensionname,extensionattributes>
    where direction or extensionattributes are allowed to be the empty
    string.
    
    Both formats are allowed because usually only the extension name is
    given and it's much simpler to handle in caps.
    1381e3e2