DualStreamerVideoConfig

Creates a DualStreamerVideoConfig with the same configuration for both video streams.

Parameters

config

the video configuration


fun DualStreamerVideoConfig(fps: Int = DEFAULT_FPS, firstVideoCodecConfig: DualStreamerVideoCodecConfig = DualStreamerVideoCodecConfig(), secondVideoCodecConfig: DualStreamerVideoCodecConfig = DualStreamerVideoCodecConfig()): DualStreamerVideoConfig

Creates a DualStreamerVideoConfig with different configuration for each video stream.

Parameters

fps

the video framerate in frames per second.

firstVideoCodecConfig

the first video output codec configuration

secondVideoCodecConfig

the second video output codec configuration