fix(video-label): Display based on video dimensions in LargeVideoManager

In its current implementation, the VideoStatusLabel shows HD based on peer
connection stats. These stats will be available on temasys browsers soon but
will remain unavailable on Firefox, which does not collect height/width stats.
To support VideoStatusLabel showing cross-browser, move the high-definition
detection out of stat sniffing and instead check the video element itself using
an interval in LargeVideoManager. (An interval was used because the temasys
video object does not support the onresize event.) Also, add a cleanup path from
conference.web to LargeVideoManager to remove the interval.
This commit is contained in:
Leonard Kim
2017-05-17 11:54:22 -05:00
committed by hristoterezov
parent b8189a31ad
commit a88409bbfa
6 changed files with 73 additions and 38 deletions
@@ -51,6 +51,7 @@ class Conference extends Component {
* @inheritdoc
*/
componentWillUnmount() {
APP.UI.stopDaemons();
APP.UI.unregisterListeners();
APP.UI.unbindEvents();