pub enum InputEvent {
PublishRequest(PublishRequest),
PublishCancelled(PublishCancelled),
QueryPublished(QueryPublished),
UnpublishRequest(UnpublishRequest),
SfuPublishResponse(SfuPublishResponse),
SfuUnpublishResponse(SfuUnpublishResponse),
RepublishTracks,
Shutdown,
}Expand description
An external event handled by Manager.
Variants§
PublishRequest(PublishRequest)
PublishCancelled(PublishCancelled)
QueryPublished(QueryPublished)
UnpublishRequest(UnpublishRequest)
SfuPublishResponse(SfuPublishResponse)
SfuUnpublishResponse(SfuUnpublishResponse)
RepublishTracks
Republish all tracks.
This must be sent after a full reconnect in order for existing publications to be recognized by the SFU. Each republished track will be assigned a new SID.
Shutdown
Shutdown the manager and all associated tracks.
Trait Implementations§
Source§impl Debug for InputEvent
impl Debug for InputEvent
Source§impl From<PublishCancelled> for InputEvent
Convert into PublishCancelled variant.
impl From<PublishCancelled> for InputEvent
Convert into PublishCancelled variant.
Source§fn from(v: PublishCancelled) -> Self
fn from(v: PublishCancelled) -> Self
Converts to this type from the input type.
Source§impl From<PublishRequest> for InputEvent
Convert into PublishRequest variant.
impl From<PublishRequest> for InputEvent
Convert into PublishRequest variant.
Source§fn from(v: PublishRequest) -> Self
fn from(v: PublishRequest) -> Self
Converts to this type from the input type.
Source§impl From<QueryPublished> for InputEvent
Convert into QueryPublished variant.
impl From<QueryPublished> for InputEvent
Convert into QueryPublished variant.
Source§fn from(v: QueryPublished) -> Self
fn from(v: QueryPublished) -> Self
Converts to this type from the input type.
Source§impl From<SfuPublishResponse> for InputEvent
Convert into SfuPublishResponse variant.
impl From<SfuPublishResponse> for InputEvent
Convert into SfuPublishResponse variant.
Source§fn from(v: SfuPublishResponse) -> Self
fn from(v: SfuPublishResponse) -> Self
Converts to this type from the input type.
Source§impl From<SfuUnpublishResponse> for InputEvent
Convert into SfuUnpublishResponse variant.
impl From<SfuUnpublishResponse> for InputEvent
Convert into SfuUnpublishResponse variant.
Source§fn from(v: SfuUnpublishResponse) -> Self
fn from(v: SfuUnpublishResponse) -> Self
Converts to this type from the input type.
Source§impl From<UnpublishRequest> for InputEvent
Convert into UnpublishRequest variant.
impl From<UnpublishRequest> for InputEvent
Convert into UnpublishRequest variant.
Source§fn from(v: UnpublishRequest) -> Self
fn from(v: UnpublishRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InputEvent
impl !RefUnwindSafe for InputEvent
impl Send for InputEvent
impl Sync for InputEvent
impl Unpin for InputEvent
impl UnsafeUnpin for InputEvent
impl !UnwindSafe for InputEvent
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