Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
ClockRate?: number | null
[src]

The sample rate for the stream. This value is measured in Hz.

§
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.

§
MediaStreamId: number
[src]

A unique identifier for the media stream.

§
MediaStreamName: string
[src]

A name that helps you distinguish one media stream from another.

§
MediaStreamType: MediaStreamType
[src]

The type of media stream.

§
VideoFormat?: string | null
[src]

The resolution of the video.