Skip to content

Commit

Permalink
feat: 0.7.0 (#31)
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 May 8, 2024
1 parent dc46c16 commit 86f077c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 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.7.0-pre](https://github.com/AgoraIO-Extensions/iris_web/compare/v0.5.0...v0.7.0-pre) (2024-03-19)


### Bug Fixes

* fix some event can not receive ([#30](https://github.com/AgoraIO-Extensions/iris_web/issues/30)) ([dc46c16](https://github.com/AgoraIO-Extensions/iris_web/commit/dc46c16fbbe2871a19cdc56453f12f5ff9f03093))

## [0.6.0](https://github.com/AgoraIO-Extensions/iris_web/compare/v0.5.0...v0.6.0) (2024-02-29)


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.6.0",
"version": "0.7.0",
"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.6.0",
"version": "0.7.0",
"description": "wait",
"main": "./src/index.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/rtc/src/engine/IrisRtcEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class IrisRtcEngine implements ApiInterceptor {

// TODO(guoxianze): Temporarily return ERR_NOT_SUPPORTED, for not implemented api.
return this.returnResult(
true,
false,
-NATIVE_RTC.ERROR_CODE_TYPE.ERR_NOT_SUPPORTED
);
}
Expand All @@ -176,7 +176,7 @@ export class IrisRtcEngine implements ApiInterceptor {

// TODO(guoxianze): Temporarily return ERR_NOT_SUPPORTED, for not implemented module.
return this.returnResult(
true,
false,
-NATIVE_RTC.ERROR_CODE_TYPE.ERR_NOT_SUPPORTED
);
}
Expand Down
5 changes: 4 additions & 1 deletion packages/rtc/src/impl/IAgoraRtcEngineImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export class IRtcEngineImpl implements IRtcEngineExtensions {
AgoraTranslate.NATIVE_RTCAREA_CODE2AREAS(context.areaCode),
]);

if (context?.logConfig?.level) {
if (
typeof context?.logConfig?.level === 'number' &&
context?.logConfig?.level >= 0
) {
this._engine.globalState.AgoraRTC.setLogLevel(
AgoraTranslate.NATIVE_RTCLOG_LEVEL2Number(context?.logConfig?.level)
);
Expand Down

0 comments on commit 86f077c

Please sign in to comment.