added Callback and custon notification Toast, client notification event handler
This commit is contained in:
@@ -47,6 +47,7 @@ export const useAudioStore = create<TalkState>((set, get) => ({
|
||||
const { room, isTalking } = get();
|
||||
if (!room) return;
|
||||
room.localParticipant.setMicrophoneEnabled(!isTalking);
|
||||
|
||||
if (!isTalking) {
|
||||
// If old status was not talking, we need to emit the PTT event
|
||||
if (pilotSocket.connected) {
|
||||
|
||||
Reference in New Issue
Block a user