From 5c5dc695473a56cd57a8bf5f23647e645d05f400 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 23 Feb 2022 19:10:36 +0000 Subject: [PATCH] Remove log line to try to fix freeze on answering VoIP call (#7883) The profiles point to some huge object being logged in VideoFeed's playMedia() method, but this is the only log line added recently. I can't see how this could possibly log anything huge, but not sure what else to try, so let's try removing this as an experiment. The bug it was added to diagnose seems to be fixed now anyway. For https://github.com/vector-im/element-web/issues/21181 --- src/components/views/voip/VideoFeed.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/views/voip/VideoFeed.tsx b/src/components/views/voip/VideoFeed.tsx index c000b3e08d..532a863272 100644 --- a/src/components/views/voip/VideoFeed.tsx +++ b/src/components/views/voip/VideoFeed.tsx @@ -137,7 +137,6 @@ export default class VideoFeed extends React.PureComponent { // them with another load() which will cancel the pending one, but since we don't call // load() explicitly, it shouldn't be a problem. - Dave await element.play(); - logger.debug((this.props.feed.isLocal ? "Local" : "Remote") + " video feed play() completed"); } catch (e) { logger.info("Failed to play media element with feed", this.props.feed, e); }