Skip to main content

setup_of

Function setup_of 

Source
pub fn setup_of(
    description: &SessionDescription,
    stream: &MediaDescription,
) -> Option<Setup>
Expand description

The setup role that applies to a stream: media level first, then the session default.

RFC 4145 allows a=setup at either level. Offer/answer and the eventual handshake must use this same resolver or a session-level answer can be signalled correctly and acted on as though it were missing.