-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Summary
In the JavaScript SDK, there is a clear mechanism to notify clients when the recording state of a room changes. However, it seems that the Unity SDK lacks a similar event or notification system for this purpose.
Details
When the Room model changes in the JavaScript SDK, a synthetic event is created and emitted to inform clients about the update:
Room.ts — Synthetic event creation
This approach ensures that clients can react immediately to changes in recording state (e.g., starting or stopping a recording).
In contrast, after reviewing the Unity SDK, I could not find an equivalent event or mechanism to receive similar notifications when the recording state changes.
Expected Behavior
The Unity SDK should provide an event or callback (similar to the JavaScript SDK) that triggers whenever the recording state changes.
This would allow client applications built with Unity to update UI elements or handle logic related to recording state changes reliably.
Actual Behavior
No event is currently available in the Unity SDK for recording state changes.
As a result, clients have no straightforward way to be notified when a recording starts or stops.
Request
Feature Request: Add an event to the Unity SDK that notifies clients when the recording state changes.
Alternative: If an existing mechanism already exists, please provide guidance on how to listen for recording state changes in Unity.