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

Fix freeze/crash when 1:1 calling #8058

Merged
merged 1 commit into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/components/views/voip/AudioFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ export default class AudioFeed extends React.Component<IProps, IState> {
// load() explicitly, it shouldn't be a problem. - Dave
await element.load();
} catch (e) {
logger.info("Failed to play media element with feed", this.props.feed, e);
logger.info(
`Failed to play media element with feed for userId ` +
`${this.props.feed.userId} with purpose ${this.props.feed.purpose}`, e,
);
}
}

Expand Down
5 changes: 4 additions & 1 deletion src/components/views/voip/VideoFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ export default class VideoFeed extends React.PureComponent<IProps, IState> {
// load() explicitly, it shouldn't be a problem. - Dave
await element.play();
} catch (e) {
logger.info("Failed to play media element with feed", this.props.feed, e);
logger.info(
`Failed to play media element with feed for userId ` +
`${this.props.feed.userId} with purpose ${this.props.feed.purpose}`, e,
);
}
}

Expand Down