CloudflareLiveInput class
Documentation here: API docs: https://api.cloudflare.com/#stream-live-inputs-properties Developer Cloudflare docs: https://developers.cloudflare.com/stream/stream-live/
- Available Extensions
- Annotations
-
- @CopyWith(skipFields: true)
- @JsonSerializable(includeIfNull: false)
Constructors
- CloudflareLiveInput({String? id, Map? meta, DateTime? created, DateTime? modified, RTMPS? rtmps, RTMPS? rtmpsPlayback, SRT? srt, SRT? srtPlayback, LiveInputRecording? recording, LiveInputStatus? status})
-
CloudflareLiveInput.fromJson(Map<
String, dynamic> json) -
factory
Properties
- created → DateTime
-
When the live input was created.
Using ISO 8601 ZonedDateTime
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Live input unique identifier
max length: 32
final
- meta ↔ Map?
-
User modifiable key-value store. Can be used for keeping references
to another system of record for managing videos.
getter/setter pair
- modified → DateTime
-
When the live input was last modified.
Using ISO 8601 ZonedDateTime
final
- recording → LiveInputRecording
-
Control recording the input to a Stream video. Behavior depends on the
mode. In most cases, the video will initially be viewable as a live video
and transition to on-demand after a condition is satisfied.
final
- rtmps → RTMPS
-
An object that contains RTMPS url and key
final
- rtmpsPlayback → RTMPS
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- srt → SRT
-
An object that contains SRT url, streamID and passphrase
final
- srtPlayback → SRT
-
final
- status → LiveInputStatus?
-
final
Methods
-
fromJsonList(
List? jsonList) → List< CloudflareLiveInput> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → CloudflareLiveInput? -
fromJsonString(
String? json) → CloudflareLiveInput? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< CloudflareLiveInput> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override