mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
refactor(voice): drop the native only surface from voice_engine_v2 and narrow the desktop bridge (#1788)
This commit is contained in:
1 parent
9731bac40f
commit
4f21430880
43 files changed
+196
-3682
No files matched your search
@@ -39,7 +39,6 @@ import type {
|
||||
VoiceEngineV2LiveKitRoomState,
|
||||
VoiceEngineV2LocalStreamSource,
|
||||
VoiceEngineV2MicrophoneOptions,
|
||||
VoiceEngineV2NativeAudioDeviceModuleStatus,
|
||||
VoiceEngineV2NativeAudioTapOptions,
|
||||
VoiceEngineV2NativeCaptureFrame,
|
||||
VoiceEngineV2NativeCaptureOptions,
|
||||
@@ -198,11 +197,6 @@ export type VoiceEngineV2Event =
|
||||
| {type: 'devices.selectAudioInputRequested'; deviceId: string | null}
|
||||
| {type: 'devices.selectAudioOutputRequested'; deviceId: string | null}
|
||||
| {type: 'devices.selectCameraRequested'; deviceId: string | null}
|
||||
| {
|
||||
type: 'nativeAudioDeviceModule.statusChanged';
|
||||
status: VoiceEngineV2NativeAudioDeviceModuleStatus;
|
||||
detail?: string | null;
|
||||
}
|
||||
| {type: 'audioControls.changed'; controls: VoiceEngineV2AudioControlsPatch}
|
||||
| {type: 'nativeCapture.startRequested'; options: VoiceEngineV2NativeCaptureOptions}
|
||||
| {type: 'nativeCapture.updateRequested'; options: VoiceEngineV2NativeCaptureOptions}
|
||||
|
||||
@@ -59,8 +59,6 @@ export type {
|
||||
VoiceEngineV2MediaStatus,
|
||||
VoiceEngineV2MicrophoneOptions,
|
||||
VoiceEngineV2Model,
|
||||
VoiceEngineV2NativeAudioDeviceModuleState,
|
||||
VoiceEngineV2NativeAudioDeviceModuleStatus,
|
||||
VoiceEngineV2NativeAudioTapOptions,
|
||||
VoiceEngineV2NativeCaptureFrame,
|
||||
VoiceEngineV2NativeCaptureKind,
|
||||
|
||||
@@ -11,7 +11,6 @@ export type VoiceEngineV2ConnectionStatus =
|
||||
| 'failed';
|
||||
|
||||
export type VoiceEngineV2MediaStatus = 'idle' | 'publishing' | 'published' | 'unpublishing' | 'failed';
|
||||
export type VoiceEngineV2NativeAudioDeviceModuleStatus = 'unknown' | 'unsupported' | 'warming' | 'ready' | 'failed';
|
||||
|
||||
export type VoiceEngineV2OperationId = number;
|
||||
|
||||
@@ -175,11 +174,6 @@ export interface VoiceEngineV2LiveKitRoomState {
|
||||
serverRegion: string | null;
|
||||
}
|
||||
|
||||
export interface VoiceEngineV2NativeAudioDeviceModuleState {
|
||||
status: VoiceEngineV2NativeAudioDeviceModuleStatus;
|
||||
detail: string | null;
|
||||
}
|
||||
|
||||
export interface VoiceEngineV2MicrophoneOptions {
|
||||
deviceId?: string;
|
||||
echoCancellation?: boolean;
|
||||
|
||||
Reference in new issue
Block a user