1
0

feat: add active SF and LA HQ environments

This commit is contained in:
2026-08-19 02:51:17 -07:00
parent afa285bd5c
commit 0557a26e6b
14 changed files with 1096 additions and 2312 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ const configured = (overrides: Partial<IceConfig> = {}): IceConfig => ({
...overrides,
});
const BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "lobby", screenId: "lobby-monitor" } as const;
const SECOND_BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "open-floor", screenId: "open-display" } as const;
const BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "live-work", screenId: "lobby-monitor" } as const;
const SECOND_BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "live-work", screenId: "open-display" } as const;
const PROVIDER_CREDENTIAL: ScreenShareCredential = {
sessionId: "opaque-session", participantId: "opaque-participant", role: "presenter", grantToken: "opaque-grant-token-value",
};
+2 -2
View File
@@ -14,7 +14,7 @@ import type {
} from "../../../src/media/signalingTypes.ts";
const BINDING: ScreenShareBinding = {
officeId: "lumbridge-hq", levelId: "level-1", roomId: "lobby", screenId: "lobby-monitor",
officeId: "lumbridge-hq", levelId: "level-1", roomId: "live-work", screenId: "lobby-monitor",
};
const create = (sequence = 1): ScreenShareCreateRequest => ({
type: "screen-share-create-request", protocolVersion: 1, requestId: "request-create", sequence,
@@ -193,7 +193,7 @@ describe("office media signaling service", () => {
it("validates the exact authored level, room and screen prop", () => {
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, BINDING), true);
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, { ...BINDING, roomId: "open-floor" }), false);
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, { ...BINDING, roomId: "kitchen" }), false);
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, { ...BINDING, screenId: "not-authored" }), false);
});
});