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

RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer

Implementations

transport returns the currently-configured DTLSTransport if one has not yet been configured

get_parameters describes the current configuration for the encoding and transmission of media on the sender’s track.

track returns the RTCRtpTransceiver track, or nil

replace_track replaces the track currently being used as the sender’s source with a new TrackLocal. The new track must be of the same media kind (audio, video, etc) and switching the track should not require negotiation.

send Attempts to set the parameters controlling the sending of media.

stop irreversibly stops the RTPSender

read reads incoming RTCP for this RTPReceiver

read_rtcp is a convenience method that wraps Read and unmarshals for you.

Trait Implementations

Formats the value using the given formatter. 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.