Skip to main content

negotiate_codec

Function negotiate_codec 

Source
pub fn negotiate_codec(sdp: &str) -> CodecType
Expand description

Negotiate a codec from SDP answer.

Parses the m=audio line and returns the first mutually supported codec.