Refine MatrixRTC connection wording (#3463)

This commit is contained in:
fkwp
2025-08-22 12:34:18 +02:00
committed by GitHub
parent cd5b7cdc47
commit 482e2f8f6f

View File

@@ -1620,12 +1620,14 @@ export class CallViewModel extends ViewModel {
for (const p of publications) { for (const p of publications) {
if (p.track?.isUpstreamPaused === false) { if (p.track?.isUpstreamPaused === false) {
const kind = p.track.kind; const kind = p.track.kind;
logger.log(`Pausing ${kind} track (no MatrixRTC connection)`); logger.log(
`Pausing ${kind} track (uncertain MatrixRTC connection)`,
);
p.track p.track
.pauseUpstream() .pauseUpstream()
.catch((e) => .catch((e) =>
logger.error( logger.error(
`Failed to pause ${kind} track after MatrixRTC connection loss`, `Failed to pause ${kind} track after entering uncertain MatrixRTC connection`,
e, e,
), ),
); );