Struct livekit_api::services::egress::EgressClient
source · pub struct EgressClient { /* private fields */ }
Implementations§
source§impl EgressClient
impl EgressClient
pub fn with_api_key(host: &str, api_key: &str, api_secret: &str) -> Self
pub fn new(host: &str) -> ServiceResult<Self>
pub async fn start_room_composite_egress( &self, room: &str, outputs: Vec<EgressOutput>, options: RoomCompositeOptions ) -> ServiceResult<EgressInfo>
pub async fn start_web_egress( &self, url: &str, outputs: Vec<EgressOutput>, options: WebOptions ) -> ServiceResult<EgressInfo>
pub async fn start_track_composite_egress( &self, room: &str, outputs: Vec<EgressOutput>, options: TrackCompositeOptions ) -> ServiceResult<EgressInfo>
pub async fn start_track_egress( &self, room: &str, output: TrackEgressOutput, track_id: &str ) -> ServiceResult<EgressInfo>
pub async fn update_layout( &self, egress_id: &str, layout: &str ) -> ServiceResult<EgressInfo>
pub async fn update_stream( &self, egress_id: &str, add_output_urls: Vec<String>, remove_output_urls: Vec<String> ) -> ServiceResult<EgressInfo>
pub async fn list_egress( &self, options: EgressListOptions ) -> ServiceResult<Vec<EgressInfo>>
pub async fn stop_egress(&self, egress_id: &str) -> ServiceResult<EgressInfo>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EgressClient
impl Send for EgressClient
impl Sync for EgressClient
impl Unpin for EgressClient
impl !UnwindSafe for EgressClient
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