Properties
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Static Methods
-
buildUri(String uriString, {required String token, ConnectOptions? connectOptions, bool reconnect = false, bool validate = false, bool forceSecure = false})
→ Future<Uri>
-
-
computeVideoEncodings({required bool isScreenShare, VideoDimensions? dimensions, VideoPublishOptions? options})
→ List<RTCRtpEncoding>?
-
-
computeVideoLayers(VideoDimensions dimensions, List<RTCRtpEncoding>? encodings)
→ List<VideoLayer>
-
-
createDebounceFunc<T>(dynamic f(T), {dynamic cancelFunc(Function)?, required Duration wait})
→ dynamic Function(T)
-
-
encodingsFromPresets(VideoDimensions dimensions, {required List<VideoParameters> presets})
→ List<RTCRtpEncoding>
-
-
findEvenScaleDownBy(VideoDimensions sourceDimensions, VideoDimensions targetDimensions)
→ double
-
-
retry<T>(RetryFuture<T> future, {int tries = 1, Duration delay = const Duration(seconds: 1), RetryCondition? retryCondition})
→ Future<T>
-
Returns a Future that will retry
future
while it throws
for a maximum of tries
times with delay
in between.
If all the attempts throws, the future will throw a List of the
thrown objects by the future
.
-
videoQualityForRid(String? rid)
→ VideoQuality?
-