DescribeFlowSourceMetadata
Source:
src/AWS/MediaConnect/DescribeFlowSourceMetadata.ts
Runtime binding for mediaconnect:DescribeFlowSourceMetadata.
Reads the bound Flow’s ingest transport-stream metadata — the
programs and their video/audio/data streams — plus status messages about
the source. Useful for confidence monitoring of what is actually
arriving at the flow. A flow whose source is not currently receiving
content answers with Messages instead of media info. The flow ARN is
injected from the binding. Provide the implementation with
Effect.provide(AWS.MediaConnect.DescribeFlowSourceMetadataHttp).
Observing Flows
Section titled “Observing Flows”// init — bind the operation to the flowconst sourceMetadata = yield* AWS.MediaConnect.DescribeFlowSourceMetadata(flow);
// runtimeconst { TransportMediaInfo, Messages } = yield* sourceMetadata();const programs = TransportMediaInfo?.Programs ?? [];