Skip to content

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.

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" },
});
// init
const getIceServers = yield* AWS.KinesisVideo.GetIceServerConfig(channel);
// runtime — TURN URIs + short-lived credentials for a WebRTC peer
const { IceServerList } = yield* getIceServers({ ClientId: "viewer-1" });