Server Proximity Source
Represents a proximity audio source.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun createAudioSender(frameProvider: AudioFrameProvider, distanceProvider: Supplier<Short>): AudioSender
Creates a new audio sender for this source.
Creates a new audio sender for this source with fixed distance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the server source line to which this audio source belongs.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sends an audio end packet.
Link copied to clipboard
Sends an encoded and encrypted audio frame to players within the specified distance with null activation info.
open fun sendAudioFrame(frame: ByteArray, sequenceNumber: Long, distance: Short, activationInfo: PlayerActivationInfo?): Boolean
Sends an encoded and encrypted audio frame to players within the specified distance with activation info.
Link copied to clipboard
Sends an audio packet to players within the specified distance with null activation info.
abstract fun sendAudioPacket(packet: SourceAudioPacket, distance: Short, activationInfo: PlayerActivationInfo?): Boolean
Sends an audio packet to players within the specified distance with an activation info.
Link copied to clipboard
Sends a TCP packet to players within the specified distance.
Link copied to clipboard