iOS API
Instance Methods | Properties | List of all members
MobileRTCRenderer Class Reference
Inheritance diagram for MobileRTCRenderer:

Instance Methods

(instancetype _Nonnull) - initWithDelegate:
 Call the function to initialize MobileRTCRenderer. More...
 
(MobileRTCRawDataError) - setRawDataResolution:
 Call the function to set video resolution.
 
(MobileRTCRawDataError) - subscribe:videoType:
 Call the function to subscribe video raw data. Before entering the meeting, you can subscribe your preview video data with userid=0, If you are already in the meeting, you can subscribe your own video data using the real userid or userid=0. More...
 
(MobileRTCRawDataError) - unSubscribe
 Call the function to unsubscribe video raw data. More...
 

Properties

NSUInteger userId
 the userId of MobileRTCRenderer object.
 
MobileRTCVideoType videoType
 the video type of MobileRTCRenderer object.
 
MobileRTCVideoResolution resolution
 the video resolution of MobileRTCRenderer object.
 

Method Documentation

◆ initWithDelegate:()

- (instancetype _Nonnull) initWithDelegate: (id< MobileRTCVideoRawDataDelegate >_Nonnull)  delegate

Call the function to initialize MobileRTCRenderer.

Returns
The MobileRTCRenderer object.

◆ subscribe:videoType:()

- (MobileRTCRawDataError) subscribe: (NSUInteger)  userId
videoType: (MobileRTCVideoType)  type 

Call the function to subscribe video raw data. Before entering the meeting, you can subscribe your preview video data with userid=0, If you are already in the meeting, you can subscribe your own video data using the real userid or userid=0.

Returns
the result of the method.

◆ unSubscribe()

- (MobileRTCRawDataError) unSubscribe

Call the function to unsubscribe video raw data.

Returns
the result of the method.

The documentation for this class was generated from the following file: