pub struct BrowserAudioDescription {
pub role: BrowserAudioRole,
pub payloads: BrowserAudioPayloads,
pub selected_audio_payload: u8,
pub direction: Direction,
pub ice: Credentials,
pub candidates: Vec<Candidate>,
pub fingerprint: Fingerprint,
pub setup: Setup,
pub address: IpAddr,
pub port: u16,
}Expand description
A description that crossed every browser-audio SDP boundary.
Fields§
§role: BrowserAudioRoleWhether the peer authored an offer or answer.
payloads: BrowserAudioPayloadsRequired payload mappings.
selected_audio_payload: u8First usable audio payload in preference order.
direction: DirectionDeclared direction.
ice: CredentialsCurrent peer ICE credentials.
candidates: Vec<Candidate>Usable component-one candidates in wire order.
fingerprint: FingerprintPeer certificate fingerprint from signalling.
setup: SetupPeer’s resolved DTLS setup declaration.
address: IpAddrDefault media address, retained as a fact and never as nomination.
port: u16Default media port, retained as a fact and never as nomination.
Trait Implementations§
Source§impl Clone for BrowserAudioDescription
impl Clone for BrowserAudioDescription
Source§fn clone(&self) -> BrowserAudioDescription
fn clone(&self) -> BrowserAudioDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BrowserAudioDescription
impl Debug for BrowserAudioDescription
Source§impl PartialEq for BrowserAudioDescription
impl PartialEq for BrowserAudioDescription
Source§fn eq(&self, other: &BrowserAudioDescription) -> bool
fn eq(&self, other: &BrowserAudioDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BrowserAudioDescription
impl StructuralPartialEq for BrowserAudioDescription
Auto Trait Implementations§
impl Freeze for BrowserAudioDescription
impl RefUnwindSafe for BrowserAudioDescription
impl Send for BrowserAudioDescription
impl Sync for BrowserAudioDescription
impl Unpin for BrowserAudioDescription
impl UnsafeUnpin for BrowserAudioDescription
impl UnwindSafe for BrowserAudioDescription
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more