mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
chore(repo): prune dead code and duplicate abstractions (#3413)
This commit is contained in:
1 parent
c17091768c
commit
c9fdf8fead
2937 files changed
+42233
-176793
No files matched your search
@@ -15,7 +15,6 @@ import type {
|
||||
VoiceEngineV2DisconnectReason,
|
||||
VoiceEngineV2Error,
|
||||
VoiceEngineV2GatewayVoiceStateWrite,
|
||||
VoiceEngineV2HardwareEncoderCapabilities,
|
||||
VoiceEngineV2MicrophoneOptions,
|
||||
VoiceEngineV2NativeAudioTapOptions,
|
||||
VoiceEngineV2NativeCaptureOptions,
|
||||
@@ -259,19 +258,6 @@ export class VoiceEngineV2SimulatorDriver implements VoiceEngineV2Driver {
|
||||
return {rttMs: 0, outbound: [], inbound: []};
|
||||
}
|
||||
|
||||
async getHardwareEncoderCapabilities(): Promise<VoiceEngineV2HardwareEncoderCapabilities> {
|
||||
return {
|
||||
available: true,
|
||||
backend: 'none',
|
||||
compiled: false,
|
||||
runtime: false,
|
||||
codecs: [],
|
||||
zeroCopy: false,
|
||||
nativeInputs: [],
|
||||
reason: 'simulator',
|
||||
};
|
||||
}
|
||||
|
||||
async checkPermission(name: VoiceEngineV2PermissionName): Promise<VoiceEngineV2PermissionResult> {
|
||||
return {name, status: 'granted', canPrompt: false};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user