NERoomLiveStreamTaskInfo class Null safety
Configuration for live streaming tasks
Constructors
- NERoomLiveStreamTaskInfo({required String taskId, required String streamUrl, bool serverRecordEnabled = false, required NERoomLiveStreamLayout layout, String? extraInfo, NERoomLiveConfig? config, NERoomLiveStreamMode mode = NERoomLiveStreamMode.kVideo})
Properties
- config → NERoomLiveConfig?
-
Configuration for audio and video stream codecs
final
- extraInfo → String?
-
Reserved parameters
Custom client info published for CDN streaming, added to the SEI data in H264/H265 videos. Limit: 4096 bytes.
final
- hashCode → int
-
The hash code for this object.
read-only, inherited
- layout → NERoomLiveStreamLayout
-
Set the layout for interactive live streaming
final
- mode → NERoomLiveStreamMode
-
Live streaming mode
The default value is kVideo. For more information, see NERoomLiveStreamMode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- serverRecordEnabled → bool
-
Whether recording is required for CDN streaming
The default value is disabled
final
- streamUrl → String
-
Streaming URL
For example, rtmp://test.url.
Use the pushUrl parameter returned by the server API used to create a room in Live Streaming.
final
- taskId → String
-
Custom streaming task ID
A string up to 64 characters that contains letters, digits, and underscores(_). The ID must be unique.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited