SignalingChannel
Source:
src/AWS/KinesisVideo/SignalingChannel.ts
An Amazon Kinesis Video Streams WebRTC signaling channel — the rendezvous point that WebRTC master and viewer peers use to exchange SDP offers, answers, and ICE candidates.
messageTtl is updated in place; changing channelName or type
replaces the channel.
Creating Channels
Section titled “Creating Channels”Basic Signaling Channel
import * as AWS from "alchemy/AWS";
const channel = yield* AWS.KinesisVideo.SignalingChannel("Doorbell");Channel with Message TTL
const channel = yield* AWS.KinesisVideo.SignalingChannel("Doorbell", { messageTtl: "30 seconds", tags: { Environment: "production" },});WebRTC Connectivity
Section titled “WebRTC Connectivity”// initconst getIceServers = yield* AWS.KinesisVideo.GetIceServerConfig(channel);
// runtime — TURN URIs + short-lived credentials for a WebRTC peerconst { IceServerList } = yield* getIceServers({ ClientId: "viewer-1" });