type alias StreamInfoEncodeTable

One stream's encoder choices, in <encodeTable>.

Properties

type: "mainStream" | "subStream" | "mobileStream" | "externStream"

Which stream this table describes.

resolution: { width: number; height: number; }

The stream's resolution.

Default frame rate.

Default bitrate.

Allowed frame rates as comma-separated integers, such as 25,20,15; at most 25, trailing zeros dropped.

Allowed bitrates as comma-separated integers; at most 16, trailing zeros dropped.

optional
defaultGop: number

Default GOP length; only on models that support GOP setting.

Usage

import { type StreamInfoEncodeTable } from "protocol/params/mod.ts";