Class: IncomingMessage

IncomingMessage

Incoming audio message class. Instances are returned as arguments for corresponding ZCC.Session events

Events

incoming_voice_data

Incoming voice message packet (with encoded audio)
Parameters:
Name Type Description
incomingVoicePacket Object voice message packet object
Properties:
Name Type Description
messageData Uint8Array encoded (opus) data
messageId Number incoming message id
packetId Number incoming packet id
Source:

incoming_voice_data_decoded

Incoming voice message packet decoded
Parameters:
Name Type Description
pcmData Float32Array decoded pcm packet
Source:

incoming_voice_did_start

Incoming voice message started
Parameters:
Name Type Description
incomingMessage ZCC.IncomingMessage incoming message instance (self)
Source:

incoming_voice_did_stop

Incoming voice message stopped
Parameters:
Name Type Description
incomingMessage ZCC.IncomingMessage incoming message instance (self)
Source: