Bug 1331763 - part1: Support EME content for AudioContext::CreateMediaElementSource; r=cpearce
MozReview-Commit-ID: 1OMySAPCH4i
This commit is contained in:
@@ -3361,7 +3361,7 @@ HTMLMediaElement::CaptureStreamInternal(bool aFinishWhenEnded,
|
||||
if (!window) {
|
||||
return nullptr;
|
||||
}
|
||||
if (ContainsRestrictedContent()) {
|
||||
if (!aCaptureAudio && ContainsRestrictedContent()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user