pub struct RTCRtpReceiver {
    pub internal: Arc<RTPReceiverInternal>,
    /* private fields */
}
Expand description

RTPReceiver allows an application to inspect the receipt of a TrackRemote

Fields

internal: Arc<RTPReceiverInternal>

Implementations

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

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

SetRTPParameters applies provided RTPParameters the RTPReceiver’s tracks. This method is part of the ORTC API. It is not meant to be used together with the basic WebRTC API. The amount of provided codecs must match the number of tracks on the receiver.

track returns the RtpTransceiver TrackRemote

tracks returns the RtpTransceiver traclockks A RTPReceiver to support Simulcast may now have multiple tracks

receive initialize the track and starts all the transports

read reads incoming RTCP for this RTPReceiver

read_simulcast reads incoming RTCP for this RTPReceiver for given rid

read_rtcp is a convenience method that wraps Read and unmarshal for you. It also runs any configured interceptors.

read_simulcast_rtcp is a convenience method that wraps ReadSimulcast and unmarshal for you

Stop irreversibly stops the RTPReceiver

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.