Struct livekit_protocol::CreateIngressRequest
source · pub struct CreateIngressRequest {
pub input_type: i32,
pub url: String,
pub name: String,
pub room_name: String,
pub participant_identity: String,
pub participant_name: String,
pub participant_metadata: String,
pub bypass_transcoding: bool,
pub enable_transcoding: Option<bool>,
pub audio: Option<IngressAudioOptions>,
pub video: Option<IngressVideoOptions>,
}Fields§
§input_type: i32§url: StringWhere to pull media from, only for URL input type
name: StringUser provided identifier for the ingress
room_name: Stringroom to publish to
participant_identity: Stringpublish as participant
participant_name: Stringname of publishing participant (used for display only)
participant_metadata: Stringmetadata associated with the publishing participant
bypass_transcoding: bool[depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use enable_transcoding instead.
enable_transcoding: Option<bool>Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
audio: Option<IngressAudioOptions>§video: Option<IngressVideoOptions>Implementations§
source§impl CreateIngressRequest
impl CreateIngressRequest
sourcepub fn input_type(&self) -> IngressInput
pub fn input_type(&self) -> IngressInput
Returns the enum value of input_type, or the default if the field is set to an invalid enum value.
sourcepub fn set_input_type(&mut self, value: IngressInput)
pub fn set_input_type(&mut self, value: IngressInput)
Sets input_type to the provided enum value.
sourcepub fn enable_transcoding(&self) -> bool
pub fn enable_transcoding(&self) -> bool
Returns the value of enable_transcoding, or the default value if enable_transcoding is unset.
Trait Implementations§
source§impl Clone for CreateIngressRequest
impl Clone for CreateIngressRequest
source§fn clone(&self) -> CreateIngressRequest
fn clone(&self) -> CreateIngressRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateIngressRequest
impl Debug for CreateIngressRequest
source§impl Default for CreateIngressRequest
impl Default for CreateIngressRequest
§impl<'de> Deserialize<'de> for CreateIngressRequest
impl<'de> Deserialize<'de> for CreateIngressRequest
§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl Message for CreateIngressRequest
impl Message for CreateIngressRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.source§impl PartialEq for CreateIngressRequest
impl PartialEq for CreateIngressRequest
source§fn eq(&self, other: &CreateIngressRequest) -> bool
fn eq(&self, other: &CreateIngressRequest) -> bool
self and other values to be equal, and is used
by ==.§impl Serialize for CreateIngressRequest
impl Serialize for CreateIngressRequest
impl StructuralPartialEq for CreateIngressRequest
Auto Trait Implementations§
impl Freeze for CreateIngressRequest
impl RefUnwindSafe for CreateIngressRequest
impl Send for CreateIngressRequest
impl Sync for CreateIngressRequest
impl Unpin for CreateIngressRequest
impl UnwindSafe for CreateIngressRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)