Fix
This commit is contained in:
parent
8f506f15fb
commit
677cb71c58
|
@ -77,9 +77,127 @@ if (debugLogging && console.discordVoiceHooked == null) {
|
|||
// without breaking compatibility.
|
||||
if (process.arch === 'arm64') {
|
||||
console.warn("Voice engine: Not supported");
|
||||
module.exports = {
|
||||
consoleLog = (...args) => {},
|
||||
}
|
||||
module.exports = {
|
||||
|
||||
setOnVoiceCallback:(...args) => {},
|
||||
setEmitVADLevel:(...args) => {},
|
||||
setTransportOptions:(...args) => {},
|
||||
setDeviceChangeCallback:(...args) => {},
|
||||
setOutputDevice:(...args) => {},
|
||||
setInputDevice:(...args) => {},
|
||||
setVideoInputDevice:(...args) => {},
|
||||
getOutputDevices:(...args) => {},
|
||||
getInputDevices:(...args) => {},
|
||||
getVideoInputDevices:(...args) => {},
|
||||
setVideoOutputSink:(...args) => {},
|
||||
addDirectVideoOutputSink:(...args) => {},
|
||||
removeDirectVideoOutputSink:(...args) => {},
|
||||
signalVideoOutputSinkReady:(...args) => {},
|
||||
setImageDataAllocator:(...args) => {},
|
||||
setInputVolume:(...args) => {},
|
||||
setOutputVolume:(...args) => {},
|
||||
setVolumeChangeCallback:(...args) => {},
|
||||
setNoInputThreshold:(...args) => {},
|
||||
setNoInputCallback:(...args) => {},
|
||||
getSupportedVideoCodecs:(...args) => {},
|
||||
setExperimentalAdm:(...args) => {},
|
||||
getAudioSubsystem:(...args) => {},
|
||||
getDesktopSources:(...args) => {},
|
||||
pingVoiceThread:(...args) => {},
|
||||
getScreenPreviews:(...args) => {},
|
||||
getWindowPreviews:(...args) => {},
|
||||
consoleLog:(...args) => {},
|
||||
writeAudioDebugState:(...args) => {},
|
||||
setAecDump:(...args) => {},
|
||||
rankRtcRegions:(...args) => {},
|
||||
getSoundshareStatus:(...args) => {},
|
||||
enableSoundshare:(...args) => {},
|
||||
setVideoInputInitializationCallback:(...args) => {},
|
||||
setOnSpeakingCallback:(...args) => {},
|
||||
setOnSpeakingWhileMutedCallback:(...args) => {},
|
||||
setRemoteUserSpeakingStatus:(...args) => {},
|
||||
setRemoteUserCanHavePriority:(...args) => {},
|
||||
setPingCallback:(...args) => {},
|
||||
setPingTimeoutCallback:(...args) => {},
|
||||
setPingInterval:(...args) => {},
|
||||
configureConnectionRetries:(...args) => {},
|
||||
getEncryptionModes:(...args) => {},
|
||||
destroy:(...args) => {},
|
||||
mergeUsers:(...args) => {},
|
||||
destroyUser:(...args) => {},
|
||||
setVideoBroadcast:(...args) => {},
|
||||
setOnVideoCallback:(...args) => {},
|
||||
setOnDesktopSourceEnded:(...args) => {},
|
||||
setDesktopSource:(...args) => {},
|
||||
setDesktopSourceWithOptions:(...args) => {},
|
||||
clearDesktopSource:(...args) => {},
|
||||
setDesktopSourceStatusCallback:(...args) => {},
|
||||
setOnSoundshare:(...args) => {},
|
||||
setOnSoundshareEnded:(...args) => {},
|
||||
setOnSoundshareFailed:(...args) => {},
|
||||
setLocalPan:(...args) => {},
|
||||
setLocalVolume:(...args) => {},
|
||||
setLocalMute:(...args) => {},
|
||||
setSelfMute:(...args) => {},
|
||||
setSelfDeafen:(...args) => {},
|
||||
setDisableLocalVideo:(...args) => {},
|
||||
setMinimumOutputDelay:(...args) => {},
|
||||
setPTTActive:(...args) => {},
|
||||
getFilteredStats:(...args) => {},
|
||||
startReplay:(...args) => {},
|
||||
VoiceConnection:(...args) => {},
|
||||
VoiceReplayConnection:(...args) => {},
|
||||
inputMode:(...args) => {},
|
||||
inputModeOptions:(...args) => {},
|
||||
attenuation:(...args) => {},
|
||||
attenuationFactor:(...args) => {},
|
||||
attenuateWhileSpeakingSelf:(...args) => {},
|
||||
attenuateWhileSpeakingOthers:(...args) => {},
|
||||
encodingBitRate:(...args) => {},
|
||||
encodingVoiceBitRate:(...args) => {},
|
||||
encodingVideoBitRate:(...args) => {},
|
||||
encodingVideoMaxBitRate:(...args) => {},
|
||||
encodingVideoMinBitRate:(...args) => {},
|
||||
encodingVideoWidth:(...args) => {},
|
||||
encodingVideoHeight:(...args) => {},
|
||||
encodingVideoFrameRate:(...args) => {},
|
||||
remoteSinkWantsPixelCount:(...args) => {},
|
||||
remoteSinkWantsMaxFramerate:(...args) => {},
|
||||
encodingVideoDegradationPreference:(...args) => {},
|
||||
experimentalEncoders:(...args) => {},
|
||||
hardwareH264:(...args) => {},
|
||||
minimumOutputDelay:(...args) => {},
|
||||
simulatedPacketLoss:(...args) => {},
|
||||
packetLossRate:(...args) => {},
|
||||
callMinBitRate:(...args) => {},
|
||||
callBitRate:(...args) => {},
|
||||
callMaxBitRate:(...args) => {},
|
||||
soundsharePid:(...args) => {},
|
||||
soundshareLoopback:(...args) => {},
|
||||
prioritySpeakerDucking:(...args) => {},
|
||||
encryptionSettings:(...args) => {},
|
||||
secretKey:(...args) => {},
|
||||
videoEncoder:(...args) => {},
|
||||
videoDecoders:(...args) => {},
|
||||
audioEncoder:(...args) => {},
|
||||
audioDecoders:(...args) => {},
|
||||
enableVideoEffects:(...args) => {},
|
||||
bypassVideoEffects:(...args) => {},
|
||||
streamParameters:(...args) => {},
|
||||
postponeDecodeLevel:(...args) => {},
|
||||
reconnectInterval:(...args) => {},
|
||||
rtxType:(...args) => {},
|
||||
pacsize:(...args) => {},
|
||||
rtxSsrc:(...args) => {},
|
||||
maxBitrate:(...args) => {},
|
||||
maxPixelCount:(...args) => {},
|
||||
audioSsrc:(...args) => {},
|
||||
videoSsrc:(...args) => {},
|
||||
screen:(...args) => {},
|
||||
useVideoHook:(...args) => {},
|
||||
useQuartzCapturer:(...args) => {},
|
||||
hdrCaptureMode:(...args) => {},
|
||||
};
|
||||
} else {
|
||||
features.declareSupported('voice_panning');
|
||||
features.declareSupported('voice_multiple_connections');
|
||||
|
|
Loading…
Reference in New Issue