MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / GetCodecsForOffer

Method GetCodecsForOffer

pc/media_session.cc:1831–1847  ·  view source on GitHub ↗

Getting codecs for an offer involves these steps: 1. Construct payload type -> codec mappings for current description. 2. Add any reference codecs that weren't already present 3. For each individual media description (m= section), filter codecs based on the directional attribute (happens in another method).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected