RongRTCAVInputStream Class Reference

Inherits from NSObject
Declared in RongRTCAVInputStream.h

Overview

接收到的的音视频流

– init

请勿调用,有人发布流之后会返回给您 RongRTCAVInputStream 对象

- (instancetype)init

Discussion

请勿调用,有人发布流之后会返回给您 RongRTCAVInputStream 对象

Declared In

RongRTCAVInputStream.h

– new

请勿调用,有人发布流之后会返回给您 RongRTCAVInputStream 对象

- (instancetype)new

Discussion

请勿调用,有人发布流之后会返回给您 RongRTCAVInputStream 对象

Declared In

RongRTCAVInputStream.h

  streamId

流ID,或者媒体ID

@property (nonatomic, copy, readonly) NSString *streamId

Discussion

流ID,或者媒体ID

Declared In

RongRTCAVInputStream.h

  userId

发布人

@property (nonatomic, copy, readonly) NSString *userId

Discussion

发布人

Declared In

RongRTCAVInputStream.h

  tag

唯一流扩展标识符

@property (nonatomic, copy, readonly) NSString *tag

Discussion

唯一流扩展标识符

Declared In

RongRTCAVInputStream.h

  streamType

当前的流类型

@property (nonatomic, assign, readonly) RTCMediaType streamType

Discussion

当前的流类型

Declared In

RongRTCAVInputStream.h

  state

该资源是否被禁用

@property (nonatomic, assign, readonly) RongRTCInputStreamState state

Discussion

该资源是否被禁用

Declared In

RongRTCAVInputStream.h

  delegate

视频即将渲染的代理

@property (nonatomic, weak) id<RongRTCAVInputStreamDelegate> delegate

Discussion

视频即将渲染的代理

Declared In

RongRTCAVInputStream.h

  disable

将该流禁用(注:只是不播放视频与音频,但是音视频数据是正常接收的,如果不想接收数据可以走取消订阅逻辑)

@property (nonatomic, assign) BOOL disable

Discussion

将该流禁用(注:只是不播放视频与音频,但是音视频数据是正常接收的,如果不想接收数据可以走取消订阅逻辑)

Declared In

RongRTCAVInputStream.h

– setVideoRender:

设置远端用户视频流的渲染界面

- (void)setVideoRender:(nullable RongRTCRemoteVideoView *)render

Parameters

render

渲染界面

Discussion

设置远端用户视频流的渲染界面

Declared In

RongRTCAVInputStream.h