Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Remove log line to try to fix freeze on answering VoIP call (#7883)
Browse files Browse the repository at this point in the history
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 element-hq/element-web#21181
  • Loading branch information
dbkr authored Feb 23, 2022
1 parent d71922c commit 5c5dc69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/views/voip/VideoFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export default class VideoFeed extends React.PureComponent<IProps, IState> {
// 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);
}
Expand Down

0 comments on commit 5c5dc69

Please sign in to comment.