pub struct RTCIceTransport { /* private fields */ }
Expand description

ICETransport allows an application access to information about the ICE transport over which packets are sent and received.

Implementations

get_selected_candidate_pair returns the selected candidate pair on which packets are sent if there is no selected pair nil is returned

Start incoming connectivity checks based on its configured role.

Stop irreversibly stops the ICETransport.

on_selected_candidate_pair_change sets a handler that is invoked when a new ICE candidate pair is selected

on_connection_state_change sets a handler that is fired when the ICE connection state changes.

Role indicates the current role of the ICE transport.

set_remote_candidates sets the sequence of candidates associated with the remote ICETransport.

adds a candidate associated with the remote ICETransport.

State returns the current ice transport state.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.