GetStreamSession
Source:
src/AWS/IVS/GetStreamSession.ts
Runtime binding for ivs:GetStreamSession.
Reads the metadata of a specific stream session on the bound
Channel — ingest configuration, recording details, and the
session’s truncated event log. Omit streamId to read the most recent
session. The channel ARN is injected from the binding. Provide the
implementation with Effect.provide(AWS.IVS.GetStreamSessionHttp).
Monitoring Live Streams
Section titled “Monitoring Live Streams”// init — bind the operation to the channelconst getStreamSession = yield* AWS.IVS.GetStreamSession(channel);
// runtimeconst { streamSession } = yield* getStreamSession({});yield* Effect.log(`codec: ${streamSession?.ingestConfiguration?.video?.codec}`);