Skip to main content

RuntimeFeature

Enum RuntimeFeature 

Source
#[non_exhaustive]
pub enum RuntimeFeature {
Show 42 variants Planar444Video, ReceiveBest444, ReceiveVideoOnly, ReceiveDelay, ReceiverConnectionMetadata, ReceiverWebControl, ConnectedSourceName, SenderMetadata, SdkTimestamp, InterleavedAudioConversion, InterleavedAudioSend, VideoConversion, Routing, SenderAdvertising, ReceiverAdvertising, RemoteReceiverControl, SenderDiscovery, ReceiverDiscovery, AdvancedFinderConfiguration, AdvancedSenderConfiguration, AdvancedReceiverConfiguration, AdvancedRouterConfiguration, AdvancedSenderAdvertiserConfiguration, AdvancedReceiverAdvertiserConfiguration, AdvancedSenderListenerConfiguration, AdvancedReceiverListenerConfiguration, SourceMetadata, RouterConnectionMetadata, SenderTally, EncoderGuidance, EncoderQualityPlanning, KeyframeDemand, KeyframeRequest, ScatterSend, ReceiverStreamTier, ReceiverStreamSelection, ReceiveAllocators, SendCompletion, AvSync, Genlock, Kvm, Passthrough(PassthroughPreset),
}
Expand description

A capability that this build or the selected runtime may lack.

Capabilities::status reports each one in advance, and every operation that needs one that is unavailable fails with Error::UnsupportedCapability naming it, before anything reaches the SDK.

A core capability depends on the functions the runtime exports and, for some, on its version: an older runtime would misread newer input values, or cannot destroy an object safely. Every capability from AdvancedFinderConfiguration on belongs to the Advanced SDK: it also needs an Advanced SDK runtime and a build with the advanced feature whose SDK headers declare it. A capability whose operations go on to use another one’s functions, such as AdvancedRouterConfiguration with Routing, is also unavailable whenever that one is: once its own requirements are met, it reports that one’s reason, and its operations are refused with that one’s evidence. Availability says nothing about hardware or licenses.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Planar444Video

Submitting and receiving the NDI 6.4 planar 4:4:4 formats.

§

ReceiveBest444

The Best444 receiver color mode.

§

ReceiveVideoOnly

Video-only highest and lowest receiver bandwidth modes.

§

ReceiveDelay

Independent native audio/video receiver delays.

§

ReceiverConnectionMetadata

Metadata a receiver replays to every new connection.

§

ReceiverWebControl

The connected source’s web-control URL.

§

ConnectedSourceName

Notifications of the connected source’s actual name.

§

SenderMetadata

Metadata a sender captures from its connected receivers.

§

SdkTimestamp

The SDK current-timestamp operation.

§

InterleavedAudioConversion

Conversion between planar and interleaved audio.

§

InterleavedAudioSend

Direct submission of interleaved audio to a sender.

§

VideoConversion

Conversion between the V210 and P216 video layouts.

§

Routing

Source routing, including its create/destroy and query operations.

§

SenderAdvertising

Discovery Server sender registration and removal. Needs NDI 6.4.0 or later: earlier runtimes can crash when an advertiser is destroyed.

§

ReceiverAdvertising

Discovery Server receiver registration and removal. Needs NDI 6.4.0 or later: earlier runtimes can crash when an advertiser is destroyed.

§

RemoteReceiverControl

Letting Discovery Server clients change an advertised receiver’s source. On Windows this requires an Advanced runtime, whose connection lock also protects controls from SDK-internal connection changes.

§

SenderDiscovery

Sender snapshots, subscriptions and owned event batches. Needs NDI 6.4.0 or later: earlier runtimes can crash when a listener is destroyed.

§

ReceiverDiscovery

Receiver snapshots, subscriptions, event batches and connection control. Needs NDI 6.4.0 or later: earlier runtimes can crash when a listener is destroyed.

§

AdvancedFinderConfiguration

Creating a finder with Advanced JSON configuration.

§

AdvancedSenderConfiguration

Creating a sender with Advanced JSON configuration.

§

AdvancedReceiverConfiguration

Creating a receiver with Advanced JSON configuration.

§

AdvancedRouterConfiguration

Creating a router with Advanced JSON configuration. Needs Routing, whose functions the router goes on to use.

§

AdvancedSenderAdvertiserConfiguration

Creating a Discovery Server sender advertiser with Advanced JSON configuration. Needs SenderAdvertising, whose functions the advertiser goes on to use, and so NDI 6.4.0 or later.

§

AdvancedReceiverAdvertiserConfiguration

Creating a Discovery Server receiver advertiser with Advanced JSON configuration. Needs ReceiverAdvertising, whose functions the advertiser goes on to use, and so NDI 6.4.0 or later.

§

AdvancedSenderListenerConfiguration

Creating a Discovery Server sender listener with Advanced JSON configuration. Needs SenderDiscovery, whose functions the listener goes on to use, and so NDI 6.4.0 or later.

§

AdvancedReceiverListenerConfiguration

Creating a Discovery Server receiver listener with Advanced JSON configuration. Needs ReceiverDiscovery, whose functions the listener goes on to use, and so NDI 6.4.0 or later.

§

SourceMetadata

Source snapshots that carry each source’s metadata.

§

RouterConnectionMetadata

Metadata a router replays to each new connection.

§

SenderTally

A sender’s own contribution to its tally state.

§

EncoderGuidance

The target frame size, bit rate and quality for an encoder feeding a sender.

§

EncoderQualityPlanning

Encoder quality together with the formats the connected receivers accept.

§

KeyframeDemand

Whether the receivers connected to a sender need a keyframe, and waiting for one to ask for it.

§

KeyframeRequest

A receiver’s request for a keyframe from its source.

§

ScatterSend

Sending compressed frames held in several blocks.

§

ReceiverStreamTier

A receiver’s choice between its source’s program and preview streams.

§

ReceiverStreamSelection

A receiver’s choice of which of its source’s streams it receives.

§

ReceiveAllocators

Application-supplied memory for the frames a receiver delivers.

§

SendCompletion

Notification that the SDK has finished with an asynchronously sent video frame.

§

AvSync

Matching a receiver’s audio to its video timestamps.

§

Genlock

Clocks locked to a reference source.

§

Kvm

Keyboard, mouse, touch and clipboard control of a source.

§

Passthrough(PassthroughPreset)

Receiving compressed packets with this preset.

A packet receiver is created as a receiver with Advanced JSON configuration is, so this needs everything AdvancedReceiverConfiguration does, and also that this build’s headers declare the receiver color format that selects the preset.

Trait Implementations§

Source§

impl Clone for RuntimeFeature

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 Copy for RuntimeFeature

Source§

impl Debug for RuntimeFeature

Source§

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

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

impl Eq for RuntimeFeature

Source§

impl Hash for RuntimeFeature

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for RuntimeFeature

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 RuntimeFeature

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.