From 1aa2ca7a0d17a87c41b2089e188c455c262fd5e2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 23 Feb 2022 18:31:43 +0000 Subject: [PATCH] Remove log line to try to fix freeze on answering VoIP call 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 c000b3e08d5..532a8632722 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); }