AudioPlayerService class
Real-time audio playback service for VoIP calls.
Routes decoded voice audio through SoundService's voice player, which uses the same WinAudioPlayer pattern proven to work for DTMF/ringback.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void -
close(
) → void -
initialize(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processAudioPacket(
Uint8List pcmaPayload) → void - Decode PCMA payload, upsample 8k→16k, and play through SoundService.
-
setOutputDevice(
int deviceId) → void -
stop(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AudioPlayerService
-
final