Struct webrtc::rtp_transceiver::RTCRtpTransceiverInit
source · pub struct RTCRtpTransceiverInit {
pub direction: RTCRtpTransceiverDirection,
pub send_encodings: Vec<RTCRtpEncodingParameters>,
}
Expand description
RTPTransceiverInit dictionary is used when calling the WebRTC function addTransceiver() to provide configuration options for the new transceiver.
Fields
direction: RTCRtpTransceiverDirection
send_encodings: Vec<RTCRtpEncodingParameters>
Auto Trait Implementations
impl RefUnwindSafe for RTCRtpTransceiverInit
impl Send for RTCRtpTransceiverInit
impl Sync for RTCRtpTransceiverInit
impl Unpin for RTCRtpTransceiverInit
impl UnwindSafe for RTCRtpTransceiverInit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more