AudioSender class
A class that handles streaming audio data from the device's microphone to a WebSocket server.
Constructors
- AudioSender()
- Constructor for AudioSender that initializes the sender.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- numChannels ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRates ↔ int
-
getter/setter pair
Methods
-
dispose(
) → void - Disposes of resources used by AudioSender.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBalance(
WebSocket client, double balance) → Future< void> - Sets the balance of the audio playback.
-
setVolume(
WebSocket client, double volume) → Future< void> - Sets the volume of the audio playback.
-
startStreamingAudio(
WebSocket client) → Future< void> - Connects to the WebSocket server and starts streaming audio data.
-
stopStreamingAudio(
) → Future< void> - Stops streaming audio data to the WebSocket server.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited