This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The audioLevel
read-only property of the RTCRtpContributingSource
interface indicates the audio level contained in the last RTP packet played from this source. audioLevel will be the level value defined in [RFC6465] if the RFC 6465 header extension is present, and otherwise null.
Syntax
var byte = RTCRtpContributingSource.audioLevel
Value
A signed integer in the range [-128, 127].
Specifications
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'audioLevel' in that specification. |
Working Draft | Initial definition. |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | No support | ? | ? | No support | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | No support | No support | ? | ? | ? | No support | ? |