setVideoConfig

open suspend override fun setVideoConfig(videoConfig: DualStreamerVideoConfig)

Sets video configuration.

It is a shortcut for IConfigurableAudioVideoEncodingPipelineOutput.setVideoCodecConfig. To only set video configuration for a specific output, use first.setVideoCodecConfig or second.setVideoCodecConfig outputs. In that case, you call first.setVideoCodecConfig or second.setVideoCodecConfig explicitly, make sure that the frame rate for both configurations is the same.

Parameters

videoConfig

the video configuration to set