Space is used to interact with a Space created first using the Mux Spaces Server API. Once you have created a Space on the server, you can get started by using this class.
A JSON Web Token (JWT) with a sub
of the Mux Space ID and an
aud
value that is an array containing any of the following strings:
pub
- publishing of streams.sub
- subscribing to streams.Optional
options: SpaceOptionsParamsAn optional set of Space Options
A boolean indicating whether the Space is currently being broadcast.
Protected
jwtOptional
localThe local participant in the Space. This will be set after a successful join.
Optional
sessionJoin the Space.
A promise that resolves on a successful join.
Submit an Absolute Category Rating (ACR) score for this user's session. This allows collection of user feedback regarding the general quality of experience of their Space's session
Generated using TypeDoc
A Space is where participants meet. Participants can publish their own tracks and subscribe to other publishers.
A space emits SpaceEvent as a way to relay state updates.