onClientRoleChange method Null safety
Get notified when a user changes the role.
Get notified when a user changes the role after joining a room in live streaming.
For information about roles, see NERtcClientRole.
oldRole The role before
newRole the role after
Implementation
void onClientRoleChange(int oldRole, int newRole);