screenParams top-level property
final
Represents screen parameters for video encoding, particularly for screen sharing.
Constant screenParams
representing screen encoding parameters and codec options for screen sharing.
Implementation
/// Constant `screenParams` representing screen encoding parameters and codec options for screen sharing.
final ProducerOptionsType screenParams = ProducerOptionsType(
encodings: [
RtpEncodingParameters(
rid: 'r0',
maxBitrate: 3000000,
minBitrate: 500000,
),
],
codecOptions: ProducerCodecOptions(
videoGoogleStartBitrate: 1000,
// Add any other codec-specific options if required
),
);