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_participant_egress( &self, room: &str, participant_identity: &str, outputs: Vec<EgressOutput>, options: ParticipantEgressOptions, ) -> 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 Freeze for EgressClient
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