@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 18 lines 697 Bytes
Raw
1 import * as kvws from "@distilled.cloud/aws/kinesis-video-webrtc-storage";
2 import * as Layer from "effect/Layer";
3 import { makeChannelSignalingHttpBinding } from "./BindingHttp.ts";
4 import { JoinStorageSession } from "./JoinStorageSession.ts";
5
6 export const JoinStorageSessionHttp = Layer.effect(
7 JoinStorageSession,
8 makeChannelSignalingHttpBinding({
9 tag: "AWS.KinesisVideo.JoinStorageSession",
10 // served by the channel's WEBRTC storage endpoint (only available once
11 // media storage is configured for the channel)
12 protocol: "WEBRTC",
13 role: "MASTER",
14 actions: ["kinesisvideo:JoinStorageSession"],
15 key: "channelArn",
16 operation: kvws.joinStorageSession,
17 }),
18 );