calculateAudioFrameVAD(pcmSample) - Process a 32 float pcm sample of getSampleLength size.getRequiredPCMFrequency() - Returns the PCM frequency at which the processor operates.getSampleLength() - Returns the sample size accepted by calculateAudioFrameVAD.vadProcessor - VAD Processors that does the actual compute on a PCM sample.The processor needs to implement the following functions:.Providing a value of 4096 means that the emitter will process bundles of 4096 PCM samples at a time, higher values mean longer calls, lowers values mean more calls but shorter. Passing other values will default to closes neighbor, i.e. sampleRate - Sample rate at which the emitter will operate.localAudioDeviceId - The target local audio device.JitsiMeetJS.createTrackVADEmitter(localAudioDeviceId, sampleRate, vadProcessor) - Creates a TrackVADEmitter service that connects an audio track to a VAD (voice activity detection) processor in order to obtain VAD scores for individual PCM audio samples. Use options.firePermissionPromptIsShownEvent instead firePermissionPromptIsShownEvent - DEPRECATED.This event is mutual exclusive with the above JitsiMediaDevicesEvents.PERMISSION_PROMPT_IS_SHOWN event If set to true, JitsiMediaDevicesEvents.USER_MEDIA_SLOW_PROMISE_TIMEOUT will be fired when browser takes too long to resolve the gUM promise. fireSlowPromiseEvent - optional boolean parameter.If set to true, JitsiMediaDevicesEvents.PERMISSION_PROMPT_IS_SHOWN will be fired when browser shows gUM permission prompt. firePermissionPromptIsShownEvent - optional boolean parameter.facingMode - facing mode for a camera (possible values - 'user', 'environment').desktopSharingSourceDevice - The device id or label for a video input source that should be used for screensharing.maxFps - the maximum frame rate for the video stream (passed to GUM).minFps - the minimum frame rate for the video stream (passed to GUM).micDeviceId - the deviceID for the audio device that is going to be used.cameraDeviceId - the deviceID for the video device that is going to be used.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |