Skip to content

GetDASHStreamingSessionURL

Source: src/AWS/KinesisVideo/GetDASHStreamingSessionURL.ts

Runtime binding for kinesisvideo:GetDASHStreamingSessionURL (archived media data plane).

Bind this operation to a Stream inside a function runtime to get a callable that resolves the per-stream data endpoint (GetDataEndpoint) and returns a short-lived MPEG-DASH playback URL.

// init
const getDash = yield* AWS.KinesisVideo.GetDASHStreamingSessionURL(stream);
// runtime
const { DASHStreamingSessionURL } = yield* getDash({
PlaybackMode: "LIVE",
});