-
Notifications
You must be signed in to change notification settings - Fork 121
Description
Describe the problem
I would like to be able to enable Push-to-Talk (PTT) functionality for agents already configured with supportPtt: 1, so that when building rooms, users can engage in voice communication only while holding down a designated key or button. Additionally, I need the ability to adjust or hook into the PTT activation/deactivation lifecycle (e.g., onPttStart, onPttEnd) for custom behavior such as UI state toggling, analytics, or controlling mute/unmute at the component level. Without native PTT and hook support, we must implement custom workarounds at the application layer, which leads to inconsistencies and duplicated logic.
Describe the proposed solution
I would like to see the components-js package expose:
A built-in Push-to-Talk button or support for binding any UI element to toggle voice when clicked/pressed.
Lifecycle hooks or callback props (e.g., onPttStart, onPttEnd) that fire when PTT is engaged or released.
Automatic mute/unmute logic handled by the component itself so apps don’t have to manually call publish/unpublish or mute/unmute streams.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response