Skip to content

Commit

Permalink
Merge pull request #70 from BoleLiu/dev
Browse files Browse the repository at this point in the history
Updated README.md for API Demo
  • Loading branch information
BoleLiu authored Apr 11, 2022
2 parents f26720b + afe8ac2 commit 9c0d49e
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion QNRTC-API-Examples/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
# QNRTC-API-Examples
七牛实时音视频 API Examples

七牛实时音视频 API Examples 用于演示如何通过 QNRTC SDK 来实现不同的场景需求

## 项目运行

该项目仅用于演示不同场景下的接口调用情况,不包含 token 生成等业务服务相关的逻辑实现。因此,为保证项目正常运行,需要您在如下位置自行填入音视频通话的房间 [token](https://developer.qiniu.com/rtc/9909/the-rtc-basic-concept#4),若您还没有生成 token 的相关服务,可参考[如何通过控制台获取 token](https://developer.qiniu.com/rtc/9858/applist#4) 来获取临时 token。

```java
public class Config {
public static final String ROOM_TOKEN = "自定义房间 token";
}
```

若您有 CDN 转推的相关需求,同样需要在如下位置自行填入待转推的推流地址才可正常运行,推流地址的获取方式可参考[直播云快速入门文档](https://developer.qiniu.com/pili/1221/the-console-quick-start)

```java
public class Config {
public static final String PUBLISH_URL = "自定义推流地址";
}
```

0 comments on commit 9c0d49e

Please sign in to comment.