MediaRecorder.ignoreMutedMedia

Вы читаете английскую версию этой статьи, так как пока нет перевода на данный язык. Помогите нам перевести эту статью!

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The ignoreMutedMedia property of the MediaRecorder interface indicates whether the MediaRecorder instance will record input, when the input MediaStreamTrack is muted. If this attribute is false, MediaRecorder will record silence for audio and black frames for video. The default is false.

Syntax

var boolean = MediaRecorder.ignoreMutedMedia
MediaRecorder.ignoreMutedMedia = boolean

Value

A Boolean.

Specifications

Specification Status Comment
MediaStream Recording
The definition of 'ignoreMutedMedia' in that specification.
Working Draft Initial definition.

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
ignoreMutedMedia
Experimental
Chrome No support 49 — 57Edge No support NoFirefox ? IE ? Opera Full support 36Safari ? WebView Android No support 49 — 57Chrome Android No support 49 — 57Firefox Android ? Opera Android Full support 36Safari iOS ? Samsung Internet Android Full support 5.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.