I am working with Zoom video SDK in my web application, Where i am trying to differentiate host and participant in it. For that as per documentation i am trying to pass role 0 and 1. Where 1 for host and 0 for participant. When i pass role=0 that time i am getting flag isHost true in zoom session, For host and participant both. Here i attached the photo of that session log. here is my dev configuration
export const devConfig = {
sdkKey: '',
sdkSecret: '',
webEndpoint: 'zoom.us', // zfg use www.zoomgov.com
topic: '',
name: "",
meetingNumber:700800900,
password: '',
signature: '',
sessionKey: '',
userIdentity: '',
// The user role. 1 to specify host or co-host. 0 to specify participant, Participants can join before the host. The session is started when the first user joins. Be sure to use a number type.
role: 1
};