onPinStateChanged

open fun onPinStateChanged(participantId: String, state: ParticipantPinState, pinnedBy: String?)

Called when any participant is pinned or unpinned, by anyone. The participant's Participant.pinState already holds state.

Parameters

participantId

who was pinned or unpinned.

state

which of their streams are pinned now; both false means unpinned.

pinnedBy

who made the change, or null when the server did not say.