Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
disoul committed Jul 21, 2020
1 parent 9f63ad9 commit 5c62686
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 17 deletions.
10 changes: 10 additions & 0 deletions Docs/cn/release_note.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ sidebar_label: Release Note

本页提供 Agora Web SDK NG 的发版说明。

## 4.0.1 版

Agora Web SDK NG v4.0.0 于 2020 年 7 月 18 日发布。

### 问题修复

- 修复 Chrome 70 下发布失败的问题
- 修复某些情况下离开频道发布操作没有被中止的问题


## 4.0.0 版

Agora Web SDK NG v4.0.0 于 2020 年 7 月 15 日发布。
Expand Down
4 changes: 2 additions & 2 deletions Docs/cn/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const client: IAgoraRTCClient = AgoraRTC.createClient({ mode: "live", codec: "vp
该方法无需下载安装包。在项目 html 文件中,添加如下代码:

```html
<script src="https://download.agora.io/sdk/web/AgoraRTC_N-4.0.0.js"></script>
<script src="https://download.agora.io/sdk/web/AgoraRTC_N-4.0.1.js"></script>
```

### 方法 3. 手动下载 SDK
Expand All @@ -55,7 +55,7 @@ const client: IAgoraRTCClient = AgoraRTC.createClient({ mode: "live", codec: "vp
3. 在项目文件中,将如下代码添加到 html 中:

```html
<script src="./AgoraRTC_N-4.0.0.js"></script>
<script src="./AgoraRTC_N-4.0.1.js"></script>
```

> - 在方法 2 和方法 3 中,SDK 都会在全局导出一个 `AgoraRTC` 对象,直接访问这个对象即可操作 SDK。
Expand Down
9 changes: 9 additions & 0 deletions Docs/en/release_note.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ sidebar_label: Release Note

This page provides the release notes for the Agora Web SDK NG.

## v4.0.1

### Fixed issues

v4.0.1 fixed the following issues:

- Publishing failure in Chrome 70
- Publish operation may not be aborted when leaving the channel

## v4.0.0

Agora Web SDK NG v4.0.0 was released on July 15, 2020.
Expand Down
4 changes: 2 additions & 2 deletions Docs/en/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const client: IAgoraRTCClient = AgoraRTC.createClient({ mode: "live", codec: "vp
Add the following code to the line before `<style>` in your project.

```html
<script src="https://download.agora.io/sdk/web/AgoraRTC_N-4.0.0.js"></script>
<script src="https://download.agora.io/sdk/web/AgoraRTC_N-4.0.1.js"></script>
```

### Method 3: Through the Agora website
Expand All @@ -56,7 +56,7 @@ Add the following code to the line before `<style>` in your project.
3. Add the following code to the line before the `<style>` tag in your project.

```html
<script src="./AgoraRTC_N-4.0.0.js"></script>
<script src="./AgoraRTC_N-4.0.1.js"></script>
```

> - When you use method 2 or 3, the SDK fully exports an `AgoraRTC` object. You can visit the `AgoraRTC` object to operate the Agora Web SDK NG.
Expand Down
12 changes: 6 additions & 6 deletions ReactDemo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ReactDemo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@types/node": "^12.12.47",
"@types/react": "^16.9.41",
"@types/react-dom": "^16.9.8",
"agora-rtc-sdk-ng": "^4.0.0",
"agora-rtc-sdk-ng": "^4.0.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
Expand Down
6 changes: 0 additions & 6 deletions Release/AgoraRTC_N-4.0.0.js

This file was deleted.

6 changes: 6 additions & 0 deletions Release/AgoraRTC_N-4.0.1.js

Large diffs are not rendered by default.

0 comments on commit 5c62686

Please sign in to comment.