Skip to main content

ObsContextStreamingExt

Trait ObsContextStreamingExt 

Source
pub trait ObsContextStreamingExt {
    // Required method
    fn simple_rtmp_stream(
        &self,
        name: impl Into<ObsString>,
        server: impl Into<String>,
        stream_key: impl Into<String>,
    ) -> SimpleRtmpStreamingBuilder;
}
Expand description

Adds the common RTMP streaming workflow to ObsContext.

Required Methods§

Source

fn simple_rtmp_stream( &self, name: impl Into<ObsString>, server: impl Into<String>, stream_key: impl Into<String>, ) -> SimpleRtmpStreamingBuilder

Creates a simple RTMP builder using H.264/AAC and runtime capability selection.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ObsContextStreamingExt for ObsContext

Source§

fn simple_rtmp_stream( &self, name: impl Into<ObsString>, server: impl Into<String>, stream_key: impl Into<String>, ) -> SimpleRtmpStreamingBuilder

Implementors§