Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShingHo committed Jun 2, 2016
1 parent f50722d commit e390202
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,14 @@
* 调用leave方法离开频道

* Y2WRTCManager发起、加入音视频频道
* 属性
属性

```objective-c
@property (nonatomic, copy) NSString *channelId; // 频道ID,发起方会自动获取,加入时需要填入发起方获取的ID
@property (nonatomic, copy) NSString *memberId; // 频道连接中的成员ID
@property (nonatomic, copy) NSString *token; // 用户token
```

* 方法
方法

```objective-c
/**
Expand Down Expand Up @@ -152,14 +151,14 @@ manager.token = token;
```
* Y2WRTCChannel管理频道
* 属性
属性
```objective-c
@property (nonatomic, copy) NSString *channelId; // 频道ID
@property (nonatomic, retain, readonly) NSArray<Y2WRTCMember *> *members; // 此频道当前的所有成员
@property (nonatomic, assign) id<Y2WRTCChannelDelegate> delegate; // 委托对象
```
* 方法
方法

```objective-c
-------------------------------- 音频功能 --------------------------------
Expand Down Expand Up @@ -247,7 +246,7 @@ manager.token = token;
```

* Y2WRTCMember成员对象,管理成员的状态并提供视频数据
* 属性
属性

```objective-c
@property (nonatomic, copy) NSString *uid; // 用户ID
Expand All @@ -259,7 +258,7 @@ manager.token = token;
```

* Y2WRTCChannelDelegate用于频道内事件的回调
* 方法
方法

```objective-c
/**
Expand Down

0 comments on commit e390202

Please sign in to comment.