logo
pub struct RtmpGroupSettings {
    pub ad_markers: Option<Vec<String>>,
    pub authentication_scheme: Option<String>,
    pub cache_full_behavior: Option<String>,
    pub cache_length: Option<i64>,
    pub caption_data: Option<String>,
    pub input_loss_action: Option<String>,
    pub restart_delay: Option<i64>,
}
Expand description

Rtmp Group Settings

Fields

ad_markers: Option<Vec<String>>

Choose the ad marker type for this output group. MediaLive will create a message based on the content of each SCTE-35 message, format it for that marker type, and insert it in the datastream.

authentication_scheme: Option<String>

Authentication scheme to use when connecting with CDN

cache_full_behavior: Option<String>

Controls behavior when content cache fills up. If remote origin server stalls the RTMP connection and does not accept content fast enough the 'Media Cache' will fill up. When the cache reaches the duration specified by cacheLength the cache will stop accepting new content. If set to disconnectImmediately, the RTMP output will force a disconnect. Clear the media cache, and reconnect after restartDelay seconds. If set to waitForServer, the RTMP output will wait up to 5 minutes to allow the origin server to begin accepting data again.

cache_length: Option<i64>

Cache length, in seconds, is used to calculate buffer size.

caption_data: Option<String>

Controls the types of data that passes to onCaptionInfo outputs. If set to 'all' then 608 and 708 carried DTVCC data will be passed. If set to 'field1AndField2608' then DTVCC data will be stripped out, but 608 data from both fields will be passed. If set to 'field1608' then only the data carried in 608 from field 1 video will be passed.

input_loss_action: Option<String>

Controls the behavior of this RTMP group if input becomes unavailable.

  • emitOutput: Emit a slate until input returns.
  • pauseOutput: Stop transmitting data until input returns. This does not close the underlying RTMP connection.
restart_delay: Option<i64>

If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more