MediaStream
import type { MediaStream } from "https://aws-api.deno.dev/v0.4/services/mediaconnect.ts?docs=full";
A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams.
interface MediaStream {
Attributes?: MediaStreamAttributes | null;
ClockRate?: number | null;
Description?: string | null;
Fmt: number;
MediaStreamId: number;
MediaStreamName: string;
MediaStreamType: MediaStreamType;
VideoFormat?: string | null;
}§Properties
§
Attributes?: MediaStreamAttributes | null
[src]Attributes that are related to the media stream.
§
Description?: string | null
[src]A description that can help you quickly identify what your media stream is used for.
§
Fmt: number
[src]The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.
§
MediaStreamType: MediaStreamType
[src]The type of media stream.