LiveStreamEndpoints class
A list of endpoints for a live streaming instance.
See StreamingSettings.
- Implementers
- Annotations
-
- @Freezed(unionKey: 'preset')
Constructors
-
LiveStreamEndpoints.fromJson(Map<
String, dynamic> json) -
factory
-
LiveStreamEndpoints.preconfigured({@JsonKey(name: 'preConfiguredEndpoints') required List<
String> endpoints}) -
constfactory
-
LiveStreamEndpoints.rtmpUrls({@JsonKey(name: 'rtmpUrls') required List<
Uri> urls}) -
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult preconfigured(PreconfiguredLiveStreamEndpoints value), required TResult rtmpUrls(RtmpUrlsLiveStreamEndpoints value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? preconfigured(PreconfiguredLiveStreamEndpoints value)?, TResult? rtmpUrls(RtmpUrlsLiveStreamEndpoints value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult preconfigured(PreconfiguredLiveStreamEndpoints value)?, TResult rtmpUrls(RtmpUrlsLiveStreamEndpoints value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult preconfigured(List< String> endpoints)?, TResult rtmpUrls(List<Uri> urls)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult preconfigured(List< String> endpoints), required TResult rtmpUrls(List<Uri> urls)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? preconfigured(List< String> endpoints)?, TResult? rtmpUrls(List<Uri> urls)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited