Skip to content

Channel

Source: src/AWS/IVS/Channel.ts

An Amazon IVS (Interactive Video Service) channel for low-latency live video streaming.

A channel stores configuration for broadcasting live streams: broadcast software sends video to the channel’s ingestEndpoint (authenticated with a StreamKey) and viewers watch via the channel’s playbackUrl.

Basic Channel

import * as IVS from "alchemy/AWS/IVS";
const channel = yield* IVS.Channel("LiveChannel");

Basic Low-Cost Channel

const channel = yield* IVS.Channel("LiveChannel", {
type: "BASIC",
latencyMode: "NORMAL",
});
const channel = yield* IVS.Channel("PrivateChannel", {
authorized: true,
});
const channel = yield* IVS.Channel("LiveChannel");
const streamKey = yield* IVS.StreamKey("LiveKey", {
channelArn: channel.channelArn,
});
// broadcast to rtmps://{channel.ingestEndpoint}:443/app/ with streamKey.value