disallowBroadcast()

disallowBroadcast(userId: string)

Revokes the broadcast permissions for the target user. The target user id is provided as a parameter.

This method only takes effect if allowBroadcast was previously called for that user.

sambaFrame.disallowBroadcast('9efc7798-a1a4-44bd-9d8d-532fe0feea9d');

Sample use case: Have a custom participants panel in your integration and want moderators to be able to revoke broadcast permissions for particular users. It will be mostly useful in webinar scenarios where particular roles do not have broadcast permissions by default and these permissions are granted and revoked on the fly during the webinar.

Last updated