pin

open suspend fun pin(pinType: PinType = PinType.SHARE_AND_CAM)

Pins this participant so every device in the room sees them promoted.

The pin is room-wide state, not a local layout choice: it is your UI's job to honour it. Works on the local participant too.

Events:

Parameters

pinType

which streams to pin. Defaults to PinType.SHARE_AND_CAM.

See also

Throws

code 4071 (PIN_FAILED) if the server refuses.