Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r=jib

MozReview-Commit-ID: CnJnxszKU4o
This commit is contained in:
Andreas Pehrson
2016-02-01 22:43:38 +08:00
parent f9994d16e4
commit ed37b11aca
10 changed files with 92 additions and 82 deletions

View File

@@ -1886,6 +1886,15 @@ public:
return MediaSourceEnum::Other;
}
already_AddRefed<Promise>
ApplyConstraints(nsPIDOMWindowInner* aWindow,
const dom::MediaTrackConstraints& aConstraints,
ErrorResult &aRv) override
{
NS_ERROR("ApplyConstraints not implemented for media element capture");
return nullptr;
}
void Stop() override
{
NS_ERROR("We're reporting remote=true to not be stoppable. "