Skip to content

navigator.getUserMedia still creates webcompat issues #266

Open
@karlcow

Description

@karlcow

What is the issue with the Compatibility Standard?

navigator.getUserMedia has been "removed" from the standard

API WebKit Gecko Blink
navigator.getUserMedia undefined undefined
navigator.webkitGetUserMedia undefined undefined
navigator.mozGetUserMedia undefined undefined
navigator.mediaDevices.getUserMedia

time to time, Safari is getting Web compat reports about breakage because of the lack of webkitGetUserMedia.

The patterns where this is failing are code like:

navigator.getUserMedia =
  navigator.getUserMedia ||
  navigator.webkitGetUserMedia ||
  navigator.mozGetUserMedia ||
  navigator.msGetUserMedia;

(nb: thanks @gsnedders for digging the links)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions