Skip to main content

NativeBroadcastAdapter

Trait NativeBroadcastAdapter 

Source
pub trait NativeBroadcastAdapter: Send + Sync {
    // Required method
    fn apply(
        &self,
        session: BroadcastSession,
        action: BroadcastAdapterAction,
    ) -> BroadcastAdapterFuture<'_>;

    // Provided method
    fn take_inbound_objects(
        &self,
        _session: BroadcastSession,
        _max: usize,
    ) -> BroadcastObjectsFuture<'_> { ... }
}
Expand description

Private native relay mechanics boundary. Implementations resolve the non-secret allocation label to provider credentials inside Rust and never return those credentials through Tauri IPC.

Required Methods§

Provided Methods§

Source

fn take_inbound_objects( &self, _session: BroadcastSession, _max: usize, ) -> BroadcastObjectsFuture<'_>

Drains provider objects for a subscriber. The plugin passes every object back through the shared Rust integrity/generation/media decoder before returning a high-level media sample over IPC.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§