instrumentisto / medea

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

Add facingMode constraint configuration to Jason (#27) #137

Closed evdokimovs closed 4 years ago

evdokimovs commented 4 years ago

Part of #27

Synopsis

We need to configure exact or ideal MediaTrackConstraints.facingMode constrain.

Solution

Add MediaTrackConstraints.facingMode configuring to the DeviceVideoTrackConstraints.

Checklist

evdokimovs commented 4 years ago

FCM

Add facingMode constraint configuration to Jason (#137, #27)

- add FacingMode enum
- add DeviceVideoTrackConstraints::ideal_facing_mode and DeviceVideoTrackConstraints::exact_facing_mode methods
- add 'Facing user' and 'Facing environment' video devices to 'e2e-demo' and 'demo'