Skip to main content

server_answer_sdp

Function server_answer_sdp 

Source
pub fn server_answer_sdp(
    endpoint: &WebRtcDirectEndpoint,
    server_ufrag: &str,
) -> Result<String, BrowserProtocolError>
Expand description

Build the certificate-pinned ICE-lite SDP answer for a direct endpoint.

ยงErrors

Returns an error when the v2 ICE credential is invalid.