LslOutletOptions class
How streams are published (device forwarding and recording replay).
Constructors
- LslOutletOptions({int bufferS = 60, int chunkSize = 0, int pushIntervalMs = 20, bool syncBlocking = false})
-
const
-
LslOutletOptions.fromJson(Map<
String, Object?> j) -
factory
Properties
- bufferS → int
-
Seconds of data an outlet keeps for a slow consumer.
final
- chunkSize → int
-
Samples per network packet; 0 sends each push as it comes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pushIntervalMs → int
-
How long samples are collected before they are pushed, in ms. Fewer,
larger pushes use less CPU; consumers see up to this much extra
latency.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- syncBlocking → bool
-
Zero-copy blocking sends (less CPU for high-bandwidth streams; a slow
consumer holds up the push). Not used for string streams.
final
Methods
-
copyWith(
{int? bufferS, int? chunkSize, int? pushIntervalMs, bool? syncBlocking}) → LslOutletOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited