WDGVideoStream
表示可通过 WDGVideoConversation 传输的音频和视频流。
videoEnabled
Section titled “videoEnabled”定义
@property (assign, readwrite, nonatomic) BOOL videoEnabled;说明
代表流中的视频是否开启。
audioEnabled
Section titled “audioEnabled”定义
@property (assign, readwrite, nonatomic) BOOL audioEnabled;说明
代表流中的音频是否开启。
-close
Section titled “-close”定义
- (void)close;说明
关闭当前流,当前流被关闭后不能继续使用。
-attach:
Section titled “-attach:”定义
- (void)attach:(nonnull WDGVideoView *)view;说明
绑定流与视图,使当前流在指定的 WDGVideoView 中显示。
参数
| 参数名 | 说明 |
|---|---|
| view | WDGVideoView 实例,流在该视图中展示。 |
-detach:
Section titled “-detach:”定义
- (void)detach:(nonnull WDGVideoView *)view;说明
解除当前流与指定的 WDGVideoView 的绑定。
参数
| 参数名 | 说明 |
|---|---|
| view | WDGVideoView 实例,流在该视图中展示。 |