sendAudioFrame

open fun sendAudioFrame(frame: ByteArray, sequenceNumber: Long): Boolean

Sends an encoded and encrypted audio frame to players with null activation info.

Return

true if the packet was successfully sent, false otherwise.

Parameters

frame

The frame to send.

sequenceNumber

The sequence number of the frame.


open fun sendAudioFrame(frame: ByteArray, sequenceNumber: Long, activationInfo: PlayerActivationInfo?): Boolean

Sends an encoded and encrypted audio frame to players with an activation info.

Return

true if the packet was successfully sent, false otherwise.

Parameters

frame

The frame to send.

sequenceNumber

The sequence number of the frame.

activationInfo

The activation info for the audio packet.