jiti-meet/react/features/large-video/components
virtuacoplenny 4fb37c38eb fix(large-video): do not show background for Firefox and temasys (#2316)
* ref(large-video): reactify background

This is pre-requisite work for disabling the background on
certain browsers, namely Firefox. By moving the component
to react, and in general encapsulating background logic,
selectively disabling the background will be easier.

The component was left for LargeVideo to update so it can
continue to coordinate update timing with the actual large
video display. If the background were moved completely into
react and redux with LargeVideo, then background updates would
occur before large video updates causing visual jank.

* fix(large-video): do not show background for Firefox and temasys

Firefox has performance issues with adding filter effects on
animated elements. On temasys, the background videos weren't
really displaying anyway.

* some props refactoring

Instead of passing in classes to LargeVideoBackground, rely on
explicit props. At some point LargeVideo will have to be reactified
and the relationsihp between it and LargeVideoBackground might
change, so for now make use of props to be explicit about
how LargeVideoBackground can be modified.

Also, set the jitsiTrack to display on LargeVideoBackground to
null if the background is not displayed. This was an existing
optimization, although previously done with pausing and playing.

* squash: use newly exposed RTCBrowserType

* squash: rebase and use new lib browser util

* squash: move hiding logic all into LargeVideo

* squash: remove hiding of background on stream change. hopefully doesnt break anything
2018-02-12 16:29:29 -08:00
..
LargeVideo.native.js [RN] Show an indication when connectivity problems occur 2017-12-19 09:10:58 -06:00
LargeVideo.web.js fix(large-video): do not show background for Firefox and temasys (#2316) 2018-02-12 16:29:29 -08:00
LargeVideoBackground.native.js fix(large-video): do not show background for Firefox and temasys (#2316) 2018-02-12 16:29:29 -08:00
LargeVideoBackground.web.js fix(large-video): do not show background for Firefox and temasys (#2316) 2018-02-12 16:29:29 -08:00
index.js fix(large-video): do not show background for Firefox and temasys (#2316) 2018-02-12 16:29:29 -08:00
styles.js [RN] Coding style 2017-06-10 18:07:51 -05:00