Skip to content

@camera.ui/sdk / camera / Fmp4SessionOptions

Interface: Fmp4SessionOptions ​

Defined in: camera/streaming.ts:320

FMP4 streaming session configuration.

Properties ​

audio? ​

optional audio?: object

Defined in: camera/streaming.ts:354

Audio encoding options.

encoderOptions? ​

optional encoderOptions?: Record<string, string | number | boolean | null | undefined>

Additional encoder options.


boxMode? ​

optional boxMode?: boolean

Defined in: camera/streaming.ts:330

Use box mode for streaming.


fragDuration? ​

optional fragDuration?: number

Defined in: camera/streaming.ts:332

Fragment duration in microseconds.


hardware? ​

optional hardware?: HardwareAcceleration

Defined in: camera/streaming.ts:322

Hardware acceleration method.


input? ​

optional input?: object

Defined in: camera/streaming.ts:325

Stream input options.

options? ​

optional options?: Record<string, string | number | boolean | null | undefined>


supportedAudioCodecs? ​

optional supportedAudioCodecs?: ("opus" | "aac" | "flac")[]

Defined in: camera/streaming.ts:335

Supported audio codecs (skip transcode if match).


supportedVideoCodecs? ​

optional supportedVideoCodecs?: ("h264" | "hevc" | "av1")[]

Defined in: camera/streaming.ts:337

Supported video codecs (skip transcode if match).


video? ​

optional video?: object

Defined in: camera/streaming.ts:340

Video encoding options.

bitrate? ​

optional bitrate?: number

Maximum video bitrate in bits per second.

encoderOptions? ​

optional encoderOptions?: Record<string, string | number | boolean | null | undefined>

Additional encoder options.

fps? ​

optional fps?: number

Target framerate.

height? ​

optional height?: number

Output height.

width? ​

optional width?: number

Output width.