v151 · media · capabilities

Declarative Permission Flow

Compare the declarative <usermedia> element (click the element itself, browser shows a contextual prompt) with the imperative getUserMedia() flow (JS call, immediate prompt).

Declarative: <usermedia>

Checking support…

Imperative: getUserMedia()

Not requested.

references