Skip to main content

FrameSyncAttached

Enum FrameSyncAttached 

Source
pub enum FrameSyncAttached {}
Expand description

Receiver mode held exclusively by crate::FrameSync, whose synchronizer takes the receiver’s video and audio.

The receiver’s own metadata capture and common controls are available. Event polling is unavailable because native synchronization can consume status notifications. Query capabilities with Ptz::is_supported and Receiver::web_control_url (or Advanced KVM’s is_supported), source names with Receiver::wait_for_source_name_change, and connection state with Receiver::is_connected and Receiver::connection_stats. Its video and audio capture are unavailable: FrameSync returns them through FrameSync::capture_video and FrameSync::capture_audio.

Raw audio capture on the attached receiver would compete with the synchronizer for the receiver’s audio: each audio frame reaches only one of them. Measured with NDI 6.3.2 and 6.4 over loopback, raw capture interleaved with FrameSync pulls takes most of a 30 fps stream’s audio frames, none of which then reach the FrameSync, which returns silence in their place. Metadata is not taken that way: every metadata frame still reaches the receiver’s own capture while the FrameSync pulls video and audio. framesync_pulls_leave_sequenced_metadata_for_the_attached_receiver in tests/framesync_capture_boundary.rs repeats that metadata check on every runtime exercised by CI.

Trait Implementations§

Source§

impl Debug for FrameSyncAttached

Source§

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

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

impl MetadataMode for FrameSyncAttached

Source§

impl ReceiverMode for FrameSyncAttached

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> 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, 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.