- RevueSDK
- RoomDelegate
- room(_:didUpdateSpeakingParticipants:)
Instance Method
room(_:didUpdateSpeakingParticipants:)
說話者列表變更(依音量由大到小,含本地自己)
func room(_ room: Room, didUpdateSpeakingParticipants speakers: [Participant])Discussion
由 Room 的語音聚焦輪詢每 400ms 判定,僅在名單或音量量化值有變化時 fire。 傳入的是完整名單(非增量);某人停止說話即從名單消失。