Struct async_datachannel_wasm::PeerConnection [−][src]
pub struct PeerConnection { /* fields omitted */ }
Implementations
Create a new PeerConnection
to be used for either dialing or accepting an inbound
connection. The channel tuple is used to interface with an external signalling system.
Wait for an inbound connection. wait for remote offer set_remote_desc(&offer) create answer(&offer) set_local_desc(&answer) send(&answer)
Initiate an outbound dialing. dial create offer set local_description(&offer) send(offer) wait for remote answer set_remote_description(&answer)