Refine MatrixRTC connection wording (#3463)
This commit is contained in:
@@ -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,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user