Skip to content

Commit

Permalink
fix: updateChannelMediaOptions doesn't setClientRole (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: guoxianzhe <guoxianzhe@users.noreply.github.com>
  • Loading branch information
guoxianzhe and guoxianzhe authored Nov 1, 2024
1 parent 44dd506 commit 9a2fc5b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# IRIS_WEB

## [0.8.2](https://github.com/AgoraIO-Extensions/iris_web/compare/v0.8.0...v0.8.2) (2024-11-01)


### Bug Fixes

* updateChannelMediaOptions doesn't setClientRole ([40be6d3](https://github.com/AgoraIO-Extensions/iris_web/commit/40be6d386b79c751f6e8df77412e0d41b4df7291))

## [0.8.1](https://github.com/AgoraIO-Extensions/iris_web/compare/v0.8.0...v0.8.1) (2024-10-31)


Expand Down
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 9a2fc5b

Please sign in to comment.