Skip to main content

rtc_create_offer

Function rtc_create_offer 

Source
pub fn rtc_create_offer(peer_id: u32) -> Result<String, i32>
Expand description

Generate an SDP offer for the peer and set it as the local description.

Returns the SDP string or an error code.