pub fn prack_body(
invite_offered: bool,
provisional_body: &[u8],
capabilities: &Capabilities,
) -> Option<SessionDescription>Expand description
The body a PRACK must carry, if any (RFC 3262 §5).
Only one case calls for one: the INVITE carried no offer, so the first reliable provisional had to carry it, and “the UAC … MUST generate an answer in the PRACK”. When the INVITE did offer, whatever SDP comes back in the provisional is the answer to it, and putting a second description in the PRACK would start a renegotiation nobody asked for.