Protected
_listenersOptional
disconnected?: EventListener<{ args: [LiveEvent, Error] }>[]Optional
hostOptional
hostOptional
hostOptional
hostOptional
hostOptional
hostOptional
hostOptional
hostOptional
liveOptional
liveOptional
liveOptional
participantOptional
participantThe timestamp of when the live event was created, in miliseconds.
User ID of the user that created the live event.
The sum of all participants that entered and exited a live event.
A unique key-value pair of information stored in a live event.
The period from the time when the live event was created to the time the live event was ended.
The timestamp of when the live event was ended, in miliseconds.
User ID of the user that ended the live event.
Host of the live event.
Indicates whether the host is streaming media.
Unique identifier for the live event.
An open channel that is used for the live event.
The number of participants in a live event which is counted by the number of devices and browsers concurrently connected to Sendbird server.
The highest number of participantCount
measured at a given time during a live event.
The timestamp of when the live event was set ready, in miliseconds.
User ID of the user that set the live event ready.
The timestamp of when the live event was started, in miliseconds.
User ID of the user that started the live event.
The state of a live event. Valid values are created, ready, ongoing, and ended.
The role of the user in a live event.
Protected
_dispatchRest
...args: ArgsType<LiveEventEventMap[K]>Enters a live event as a host. Only the host can perform this action.
Starts the live event. Only the host can perform this action. Calling this method implicitly calls startStreaming()
.
Starts media streaming of a host in the live event. Only the host can perform this action.
Generated using TypeDoc
A class that provides methods for a host and participants to stream and receive media during a live event.