VideoEncoding class

A type that represents video encoding information.

Implemented types
Available extensions
Annotations

Constructors

VideoEncoding({required int maxFramerate, required int maxBitrate, Priority? bitratePriority, Priority? networkPriority})
const

Properties

bitratePriority Priority?
Priority for bandwidth allocation.
final
hashCode int
The hash code for this object.
no setteroverride
maxBitrate int
Maximum bitrate for the video track.
final
maxFramerate int
Maximum framerate for the video track.
final
networkPriority Priority?
Priority for DSCP marking. Requires RTCConfiguration.isDscpEnabled to be true.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(VideoEncoding other) int
Compares this object to another object.
override
copyWith({int? maxFramerate, int? maxBitrate, Priority? bitratePriority, Priority? networkPriority}) VideoEncoding
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toRTCRtpEncoding({String? rid, double? scaleResolutionDownBy = 1.0, int? numTemporalLayers}) RTCRtpEncoding

Available on VideoEncoding, provided by the VideoEncodingExt extension

toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override