Skip to main content

ClientAudioNotification

Notification received when another client sends an audio packet (voice chat). Received via the udpNotifications subscription.

type ClientAudioNotification {
appId: BigInt!
chunkX: BigInt!
chunkY: BigInt!
chunkZ: BigInt!
distance: Int!
decayRate: Int!
uuid: String!
audioData: String!
sequenceNumber: Int!
epochMillis: BigInt!
}

Fields

ClientAudioNotification.appId ● BigInt! non-null scalar

The ID of the app where the audio is coming from.

ClientAudioNotification.chunkX ● BigInt! non-null scalar

The X coordinate of the chunk where the audio source is located.

ClientAudioNotification.chunkY ● BigInt! non-null scalar

The Y coordinate of the chunk where the audio source is located.

ClientAudioNotification.chunkZ ● BigInt! non-null scalar

The Z coordinate of the chunk where the audio source is located.

ClientAudioNotification.distance ● Int! non-null scalar

Chunk replication distance (0-8) from the original message.

ClientAudioNotification.decayRate ● Int! non-null scalar

Decay algorithm (0-5) from the original message.

ClientAudioNotification.uuid ● String! non-null scalar

The unique identifier of the audio source (typically the player UUID sending the audio).

ClientAudioNotification.audioData ● String! non-null scalar

The compressed audio data, base64-encoded.

ClientAudioNotification.sequenceNumber ● Int! non-null scalar

The sender's sequence number for this message (0-255).

ClientAudioNotification.epochMillis ● BigInt! non-null scalar

Server-generated epoch milliseconds timestamp.

Implemented By

UdpNotification union