diff --git a/packages/fake/rtc/package.json b/packages/fake/rtc/package.json index 76c5061..390d110 100644 --- a/packages/fake/rtc/package.json +++ b/packages/fake/rtc/package.json @@ -1,6 +1,6 @@ { "name": "iris-web-rtc-fake", - "version": "0.8.1", + "version": "0.8.2", "description": "wait", "main": "./index.ts", "scripts": { diff --git a/packages/rtc/package.json b/packages/rtc/package.json index 4d507f2..2c29a31 100644 --- a/packages/rtc/package.json +++ b/packages/rtc/package.json @@ -1,6 +1,6 @@ { "name": "iris-web-rtc", - "version": "0.8.1", + "version": "0.8.2", "description": "wait", "main": "./src/index.ts", "scripts": { diff --git a/packages/rtc/src/helper/ImplHelper.ts b/packages/rtc/src/helper/ImplHelper.ts index fd5a5cf..187467b 100644 --- a/packages/rtc/src/helper/ImplHelper.ts +++ b/packages/rtc/src/helper/ImplHelper.ts @@ -385,12 +385,12 @@ export class ImplHelper { options.clientRoleType!, options ); - await this._engine.clientHelper.setClientRole( - agoraRTCClient!, - options.clientRoleType!, - irisClientState.audienceLatencyLevel - ); } + await this._engine.clientHelper.setClientRole( + agoraRTCClient!, + options.clientRoleType!, + irisClientState.audienceLatencyLevel + ); irisClientState.clientRoleType = options.clientRoleType; }