rtc 0.20.0-rc.2

Sans-I/O WebRTC implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

use super::fingerprint::*;
use super::role::*;

/// RTCDtlsParameters holds information relating to DTLS configuration.
#[derive(Default, Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct RTCDtlsParameters {
    /// Indicates the role of the DTLS transport in the handshake.
    pub role: RTCDtlsRole,
    /// DTLS certificate fingerprint for authentication.
    pub fingerprints: Vec<RTCDtlsFingerprint>,
}