AudioClient class abstract

The client responsible for transmitting audio streams.

Mixed in types

Constructors

AudioClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
incomingAudioStreamTimeout Duration?
The maximum time between the receiving of two audio frames before a AudioListener.onAudioReceived voiceData stream will be closed.
no setter
listeners Iterable<AudioListener>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldUseUdp bool
If this client should use udp.
no setter
udpCurrentlyAvailable bool
If audio is currently transmitted using udp. If this is false, tcp transport is used.
no setter
udpLatency Duration?
The udp latency or null if currently not using udp.
no setter

Methods

add(AudioListener listener) → void
inherited
close() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(AudioListener listener) → void
inherited
sendAudio({required AudioCodec codec, int voiceTarget = normalTalking, int framesPerPacket}) AudioFrameSink
Initiates audio transport.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

sequenceNumber int
no setter

Static Methods

resetSequenceNumber() → void