TsOutputSettings interface

Signature:

export interface TsOutputSettings

Properties

Property Type Description

audioFramesPerPes?

number

(Optional) PES packing of audio frames (where applicable). Lower values reduce audio latency, but increase bandwidth due to encapsulation overhead - interplay with PCR delay applies for larger values. Minimum 1, applicable maximum bounded by byte size of PES packets. If omitted a default packing value will apply, currently default is 16.

encoder?

TsEncoderSettings

(Optional) TS encoder settings. A broadcast encode specifies a bitrate and will produce a stream with accurate PCR spacing, null padding etc. A simple encode (default) is acceptable for many use cases.

pmtPid?

number

(Optional) Pid to assign as PMT pid (for the first program, if there are multiple), if unspecified a default pid will be chosen