Skip to content

Commit

Permalink
fix: updateChannelMediaOptions doesn't setClientRole
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Nov 1, 2024
1 parent 44dd506 commit 40be6d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/fake/rtc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iris-web-rtc-fake",
"version": "0.8.1",
"version": "0.8.2",
"description": "wait",
"main": "./index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rtc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iris-web-rtc",
"version": "0.8.1",
"version": "0.8.2",
"description": "wait",
"main": "./src/index.ts",
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions packages/rtc/src/helper/ImplHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 40be6d3

Please sign in to comment.