Skip to main content

V2ipSinkSdp

Struct V2ipSinkSdp 

Source
pub struct V2ipSinkSdp {
Show 15 fields pub flags: V2ipSdpFlag, pub screen: u8, pub encoding: V2ipSdpEncoding, pub channels: u8, pub payload_type: u8, pub media_clock: V2ipSdpMediaClock, pub ref_clock: V2ipSdpRefClock, pub clock_mode: V2ipSdpClockMode, pub clock_state: V2ipSdpClockState, pub port: u16, pub rate_hz: u32, pub media_clock_offset: u32, pub group: Ipv4Addr, pub name: String, pub layout: String,
}
Expand description

What a OneIP output plays from a session description, as it last reported it. The stream’s fields are zero while it plays none.

Fields§

§flags: V2ipSdpFlag

The report’s flags.

§screen: u8

What the output shows while it plays audio alone, as the wire value.

§encoding: V2ipSdpEncoding

The sample encoding.

§channels: u8

The channel count.

§payload_type: u8

The RTP payload type.

§media_clock: V2ipSdpMediaClock

Where the media clock comes from.

§ref_clock: V2ipSdpRefClock

The reference clock.

§clock_mode: V2ipSdpClockMode

What the video processor times the stream by, when flags has CLOCK.

§clock_state: V2ipSdpClockState

How far the video processor has got with the timing, when flags has CLOCK.

§port: u16

The destination UDP port.

§rate_hz: u32

The sample rate, in Hz.

§media_clock_offset: u32

The media clock offset.

§group: Ipv4Addr

The multicast group.

§name: String

The session name (s=).

§layout: String

The channel grouping it plays, empty without one.

Implementations§

Source§

impl V2ipSinkSdp

Source

pub const fn is_active(&self) -> bool

Whether the output plays a stream from a description.

Trait Implementations§

Source§

impl Clone for V2ipSinkSdp

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for V2ipSinkSdp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for V2ipSinkSdp

Source§

impl PartialEq for V2ipSinkSdp

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for V2ipSinkSdp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.