SendEncodingParameters class abstract

Encoding describing a single configuration of a codec for an RTCRtpSender.

Constructors

SendEncodingParameters()

Properties

active bool
Indicator whether the described encoding is currently actively being used.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxBitrate int?
Maximum number of bits per second to allow for this encoding.
getter/setter pair
maxFramerate double?
Maximum number of frames per second to allow for this encoding.
getter/setter pair
rid String
RTP stream ID (RID) to be sent using the RID header extension.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scalabilityMode String?
Scalability mode describing layers within the media stream.
getter/setter pair
scaleResolutionDownBy double?
Factor for scaling down the video during encoding.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFFI() → (RtcRtpEncodingParameters, ArcRtpEncodingParameters?)
Tries to convert these SendEncodingParameters into ffi.ArcRtpEncodingParameters.
toMap() Map<String, dynamic>
Converts these SendEncodingParameters into the Map expected by Flutter.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(String rid, bool active, {int? maxBitrate, double? maxFramerate, String? scalabilityMode, double? scaleResolutionDownBy}) SendEncodingParameters
Creates new SendEncodingParameters.
fromFFI(RtcRtpEncodingParameters e, ArcRtpEncodingParameters sysEncoding) SendEncodingParameters
Create new SendEncodingParameters from the provided ffi.RtcRtpEncodingParameters.
fromMap(dynamic e) SendEncodingParameters
Creates SendEncodingParameters basing on the Map received from the native side.