|
Meeting SDK for iOS API Reference
|
#include <MobileRTCRenderer.h>
Inherits NSObject.
Instance Methods | |
| (instancetype _Nonnull) | - initWithDelegate: |
| Initialize MobileRTCRenderer. | |
| (MobileRTCRawDataError) | - setRawDataResolution: |
| Call the function to set video resolution. | |
| (MobileRTCRawDataError) | - subscribe:videoType: |
| Call the function to subscribe to raw video data. | |
| (MobileRTCRawDataError) | - unSubscribe |
| Call the function to unsubscribe from raw video data. | |
Properties | |
| NSUInteger | userId |
| MobileRTCRenderer's user ID. | |
| MobileRTCVideoType | videoType |
| MobileRTCRenderer's video type. | |
| MobileRTCVideoResolution | resolution |
| MobileRTCRenderer's video resolution. | |
Definition at line 12 of file MobileRTCRenderer.h.
| - (instancetype _Nonnull) initWithDelegate: | (id< MobileRTCVideoRawDataDelegate >_Nonnull) | delegate |
Initialize MobileRTCRenderer.
| delegate | - The delegate to receive callbacks. |
| - (MobileRTCRawDataError) setRawDataResolution: | (MobileRTCVideoResolution) | resolution |
Call the function to set video resolution.
| - (MobileRTCRawDataError) subscribe: | (NSUInteger) | userId | |
| videoType: | (MobileRTCVideoType) | type |
Call the function to subscribe to raw video data.
MobileRTCRawData_Success. Otherwise, the function fails and returns null. | - (MobileRTCRawDataError) unSubscribe |
Call the function to unsubscribe from raw video data.
|
readnonatomicassign |
MobileRTCRenderer's video resolution.
Definition at line 27 of file MobileRTCRenderer.h.
|
readnonatomicassign |
MobileRTCRenderer's user ID.
Definition at line 17 of file MobileRTCRenderer.h.
|
readnonatomicassign |
MobileRTCRenderer's video type.
Definition at line 22 of file MobileRTCRenderer.h.