C++
Stream Events
Stream events let your application react to Stream Room lifecycle changes and live media activity.
Types of Events
The Stream module exposes events such as:
streamRoomCreatedstreamRoomUpdatedstreamRoomDeletedstreamJoinedstreamPublishedstreamUpdatedstreamUnpublishedstreamLeftremoteStreamsChangedstreamsUpdated
Handling Stream Events
Before receiving events, start an event loop and subscribe to the Stream events you need using buildSubscriptionQuery(...) and subscribeFor(...).
Use Context-level subscriptions for room lifecycle changes and Stream Room-level subscriptions for real-time activity inside a selected room.
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.