Updated on 2022-07-04 GMT+08:00

Pushing Speaker Status Information

Table 1 Message frame for pushing speaker status information

Parameter

Type

Description

action

String

"SpeakerChangeNotify"

version

Long

For a full message, the value is the timestamp (in milliseconds) when the message is generated.

For an incremental message, the value is a sequence number in ascending order.

createTime

Long

Timestamp when a message is generated, in milliseconds.

msgID

String

Unique message ID.

msgMode

Integer

Message mode. The value is fixed at 0.

0: full message.

1: incremental message.

confID

String

ID of the subscribed-to meeting.

data

Set<SpeakerNotifyDTO>

List of speakers (the three participants who speak loudest).

For details, see the Speaker data structure.

If this parameter is not carried, no one speaks.

Table 2 SpeakerNotifyDTO data structure

Parameter

Type

Description

pid

String

Unique participant identifier.

speakingVolume

Integer

Volume, which is used to sort speakers.

Example of Pushing Speaker Status Information

{
	"data": [{
		"pid": "w5v17oiroco5zy9boia91yar1a17wzvy",
		"name": "Tom",
		"speakingVolume": 45
	}],
	"confID": "900151350",
	"msgID": "4252aa67647f11ebb104b533eb9cd8a1",
	"msgMode": 0,
	"version": 1612178330127,
	"createTime": 1612178330127,
	"action": "SpeakerChangeNotify"
}