This commit is contained in:
Timo K
2025-12-01 14:42:15 +01:00
parent 24ed43ce13
commit 47c6a17d1e
5 changed files with 102 additions and 62 deletions

View File

@@ -16,6 +16,7 @@ import {
} from "vitest";
import { ConnectionState as LivekitConenctionState } from "livekit-client";
import { type BehaviorSubject } from "rxjs";
import { logger } from "matrix-js-sdk/lib/logger";
import { ObservableScope } from "../../ObservableScope";
import { constant } from "../../Behavior";
@@ -70,6 +71,7 @@ describe("Publisher", () => {
mockMediaDevices({}),
muteStates,
constant({ supported: false, processor: undefined }),
logger,
);
// should do nothing if no tracks have been created yet.