mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
feat(voice-engine): add a sourceLifecycle.removed event (#2374)
This commit is contained in:
1 parent
626293392c
commit
02069e8e5d
6 files changed
+62
-3
No files matched your search
@@ -15,6 +15,11 @@ export interface VoiceEngineV2SourceLifecycleTransitionedEvent {
|
||||
atMs: number;
|
||||
}
|
||||
|
||||
export interface VoiceEngineV2SourceLifecycleRemovedEvent {
|
||||
type: 'sourceLifecycle.removed';
|
||||
sourceId: string;
|
||||
}
|
||||
|
||||
import type {
|
||||
VoiceEngineV2AudioControlsPatch,
|
||||
VoiceEngineV2CameraEncodingOptions,
|
||||
@@ -264,4 +269,5 @@ export type VoiceEngineV2Event =
|
||||
| {type: 'inboundVideo.trackUnsubscribed'; trackSid: string}
|
||||
| {type: 'inboundVideo.frameReceived'; frame: VoiceEngineV2InboundVideoFrame}
|
||||
| {type: 'inboundVideo.frameStats'; stats: VoiceEngineV2InboundVideoFrameStats}
|
||||
| VoiceEngineV2SourceLifecycleTransitionedEvent;
|
||||
| VoiceEngineV2SourceLifecycleTransitionedEvent
|
||||
| VoiceEngineV2SourceLifecycleRemovedEvent;
|
||||
@@ -9,6 +9,7 @@ export type {VoiceEngineV2Command, VoiceEngineV2CommandType} from './commands';
|
||||
export {getVoiceEngineV2CommandResourceKey, getVoiceEngineV2CommandTypeResourceKey} from './commands';
|
||||
export type {
|
||||
VoiceEngineV2Event,
|
||||
VoiceEngineV2SourceLifecycleRemovedEvent,
|
||||
VoiceEngineV2SourceLifecycleTransitionedEvent,
|
||||
VoiceEngineV2SourceLifecycleTransitionKind,
|
||||
} from './events';
|
||||
|
||||
Reference in new issue
Block a user