rtc 0.9.0

Sans-I/O WebRTC implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::rtp_transceiver::rtp_sender::rtp_encoding_parameters::RTCRtpEncodingParameters;
use crate::rtp_transceiver::rtp_sender::rtp_parameters::RTCRtpParameters;

/// RTP send parameters for configuring senders.
#[derive(Default, Debug, Clone)]
pub struct RTCRtpSendParameters {
    /// The RTP stack settings (codecs, header extensions, RTCP)
    pub rtp_parameters: RTCRtpParameters,
    /// Unique identifier for tracking parameter changes
    pub transaction_id: String,
    /// Encoding parameters for each simulcast/layered stream
    pub encodings: Vec<RTCRtpEncodingParameters>,
}