The useBroadcastContext
hook lets you build custom components which interact directly with the Broadcast state store.
useStore
hook is from
zustand
,
and inherits all of the documentation for Zustand stores.useStore
hooksuseBroadcastContext
hook returns a Zustand store, which contains the
BroadcastState
.
aria
audio
enabled
hydrated
mediaDevices
mediaStream
mounted
peerConnection
status
ingestUrl
video
mediaDeviceIds
__initialProps
__device
__controls
__controlsFunctions