How does Hangouts get desktop capture on Safari?

Viewed 704

So if we have a look at: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API

The state of the getDisplayMedia - the function used to get desktop stream - shows that its currently not supported in safari 12. And its evident from the fact that calling getDisplayMedia in the console on Safari tells us that its not available.

Then how is it that Google Hangouts is able to get the desktop share in safari? Since hangouts is running inside the browser and according to my knowledge it has to use JS APIs to get screen.

Any hint or help would be highly appreciated.

Thanks

1 Answers

getDisplayMedia is supported in Safari 13. The MDN page you link to even says so.

This is what Hangouts uses. You can try it out here (click the "User gesture" button).

Safari only offers to share the entire desktop at the moment.

Related