Emit the call audio as call.audio_frame events: 16 kHz mono frames of 60 ms. remote frames are what you hear, local frames what you send.
call.audio_frame
remote
local
Enable it before the call starts: the audio graph of the call is created when the call starts and cannot be tapped afterwards.
Applies to one call and stops when it ends or is replaced. Re-enable for another call. Pass false to stop early.
false
WPP.call.enableAudioCapture({ format: 'int16-base64', source: 'remote' });WPP.on('call.audio_frame', (frame) => { // frame.samples});// StopWPP.call.enableAudioCapture(false); Copy
WPP.call.enableAudioCapture({ format: 'int16-base64', source: 'remote' });WPP.on('call.audio_frame', (frame) => { // frame.samples});// StopWPP.call.enableAudioCapture(false);
Emit the call audio as
call.audio_frameevents: 16 kHz mono frames of 60 ms.remoteframes are what you hear,localframes what you send.Enable it before the call starts: the audio graph of the call is created when the call starts and cannot be tapped afterwards.
Applies to one call and stops when it ends or is replaced. Re-enable for another call. Pass
falseto stop early.