agora-appbuilder-core 4.0.0-beta.85 → 4.0.0-beta.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -781,7 +781,7 @@ export default class RtcEngine {
|
|
|
781
781
|
}
|
|
782
782
|
await this.client.setClientRole(role.audience, options);
|
|
783
783
|
await this.screenClient.setClientRole(role.audience, options);
|
|
784
|
-
} else if (clientRole ==
|
|
784
|
+
} else if (clientRole == ClientRoleType.ClientRoleBroadcaster) {
|
|
785
785
|
await this.client.setClientRole(role.host);
|
|
786
786
|
await this.screenClient.setClientRole(role.host);
|
|
787
787
|
}
|