How to listen to the audio level of webrtc call #2428
Replies: 1 comment
-
// Create new instances of AudioContext and RTCPeerConnection // Request access to the user's microphone and add the resulting audio track to the peer connection // Create a new ScriptProcessorNode with a buffer size of 2048 // Connect the local audio track to the ScriptProcessorNode // Define a callback function for the onaudioprocess event // Connect the ScriptProcessorNode to the Audio |
Beta Was this translation helpful? Give feedback.
-
How is it possible to listen to the audio level of a WebRTC call with pion?
Beta Was this translation helpful? Give feedback.
All reactions