Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-12-06 06:55:21 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-12-06 08:06:07 +0300
commit9fcbfc40fb08290915914198577bdb4843f50a9b (patch)
tree568aeecdc04592f1d8645542a1419162869341ba
parent1c07507c1987515bbccade210dd60744b066967e (diff)
Remove unneeded event handlerextract-view-for-call-screen
There are no direct child "video" elements of the "#screens", so the event handler has no effect. Moreover, the shared screens are properly resized when the window is resized just using CSS rules, so there is no need to fix it. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--js/webrtc.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/webrtc.js b/js/webrtc.js
index 70e32b6ea..cba149480 100644
--- a/js/webrtc.js
+++ b/js/webrtc.js
@@ -405,15 +405,6 @@ var spreedPeerConnectionTable = [];
var latestScreenId = null;
var screenSharingActive = false;
- window.addEventListener('resize', function() {
- if (screenSharingActive) {
- $('#screens').children('video').each(function() {
- $(this).width('100%');
- $(this).height($('#screens').height());
- });
- }
- });
-
var sendDataChannelToAll = function(channel, message, payload) {
// If running with MCU, the message must be sent through the
// publishing peer and will be distributed by the MCU to subscribers.