instrumentisto / medea

[Closed] Medea media server
Mozilla Public License 2.0
23 stars 3 forks source link

Use getDisplayMedia() and DisplayMediaStreamConstraints from 'web_sys' crate (#27) #177

Closed evdokimovs closed 3 years ago

evdokimovs commented 3 years ago

Part of #27

Synopsis

Currently we're making gDM requests by inlined JS code, because until this moment web_sys haven't bindings for it. But in 0.3.47 version they was added. So now we should use web_sys bindings instead.

Solution

Remove get_display_media function from medea_jason::media::manager and use web_sys bindings instead.

Checklist

evdokimovs commented 3 years ago

FCM

Use getDisplayMedia() and DisplayMediaStreamConstraints from 'web_sys' crate (#177, #27)