setMediaStreamCategoryC

abstract fun setMediaStreamCategoryC(participantId: String, quality: MediaStreamQuality)

If a pinned stream for the participant with participantId already exists, update the stream with the specified params. Otherwise, add a pinned stream for this participantId.

Since

3.6.0

Parameters

participantId

The participant's id that needs to be pinned. (Derived parameter: Use Call.getMemberships to get a list of participants. Then use CallMembership.getPersonId to retrieve the participant's ID)

quality

max resolution for this stream - MediaStreamQuality.