iOS SDK API Reference
|
#import <MobileRTCRenderer.h>
Inherits NSObject.
Instance Methods | |
(instancetype _Nonnull) | - initWithDelegate: |
Call the function to initialize MobileRTCRenderer. | |
(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. | |
(MobileRTCRawDataError) | - unSubscribe |
Call the function to unsubscribe video raw data. | |
Properties | |
NSUInteger | userId |
the userId of MobileRTCRenderer object. | |
MobileRTCVideoType | videoType |
the video type of MobileRTCRenderer object. | |
MobileRTCVideoResolution | resolution |
the video resolution of MobileRTCRenderer object. | |
Definition at line 12 of file MobileRTCRenderer.h.
- (instancetype _Nonnull) initWithDelegate: | (id< MobileRTCVideoRawDataDelegate >_Nonnull) | delegate |
Call the function to initialize MobileRTCRenderer.
- (MobileRTCRawDataError) setRawDataResolution: | (MobileRTCVideoResolution) | resolution |
Call the function to set video resolution.
- (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.
- (MobileRTCRawDataError) unSubscribe |
Call the function to unsubscribe video raw data.
|
readnonatomicassign |
the video resolution of MobileRTCRenderer object.
Definition at line 27 of file MobileRTCRenderer.h.
|
readnonatomicassign |
the userId of MobileRTCRenderer object.
Definition at line 17 of file MobileRTCRenderer.h.
|
readnonatomicassign |
the video type of MobileRTCRenderer object.
Definition at line 22 of file MobileRTCRenderer.h.