pub struct RtmpStartParams {
pub streams: Vec<RtmpStream>,
pub composition: Option<Composition>,
pub transcription: Option<TranscriptionConfig>,
pub resource_id: Option<String>,
}Expand description
The parameters for RtmpResource::start.
Fields§
§streams: Vec<RtmpStream>The RTMP destinations. Required, and must be non-empty.
composition: Option<Composition>The layout, quality, orientation and theme. RTMP requires a layout.
transcription: Option<TranscriptionConfig>Transcribes and optionally summarizes the livestream.
resource_id: Option<String>A pre-acquired resource-pool unit id.
Trait Implementations§
Source§impl Clone for RtmpStartParams
impl Clone for RtmpStartParams
Source§fn clone(&self) -> RtmpStartParams
fn clone(&self) -> RtmpStartParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RtmpStartParams
impl Debug for RtmpStartParams
Source§impl Default for RtmpStartParams
impl Default for RtmpStartParams
Source§fn default() -> RtmpStartParams
fn default() -> RtmpStartParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RtmpStartParams
impl RefUnwindSafe for RtmpStartParams
impl Send for RtmpStartParams
impl Sync for RtmpStartParams
impl Unpin for RtmpStartParams
impl UnsafeUnpin for RtmpStartParams
impl UnwindSafe for RtmpStartParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more