Refine MatrixRTC connection wording

This commit is contained in:
fkwp
2025-08-21 19:22:23 +02:00
parent cd5b7cdc47
commit 41471e2292

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,
), ),
); );