iOS SDK API Reference
Loading...
Searching...
No Matches
MobileRTCRenderer.h
Go to the documentation of this file.
1//
2// MobileRTCRenderer.h
3// MobileRTC
4//
5// Created by Zoom Video Communications on 2019/8/6.
6// Copyright © 2019 Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
11
12@interface MobileRTCRenderer : NSObject
13
17@property (nonatomic, assign, readonly) NSUInteger userId;
18
22@property (nonatomic, assign, readonly) MobileRTCVideoType videoType;
23
27@property (nonatomic, assign, readonly) MobileRTCVideoResolution resolution;
28
33- (instancetype _Nonnull)initWithDelegate:(id<MobileRTCVideoRawDataDelegate>_Nonnull) delegate;
34
38- (MobileRTCRawDataError)setRawDataResolution:(MobileRTCVideoResolution)resolution;
39
44- (MobileRTCRawDataError)subscribe:(NSUInteger)userId
45 videoType:(MobileRTCVideoType)type;
46
52
53@end
54
MobileRTCVideoType
MobileRTCVideoResolution
MobileRTCVideoResolution An enumeration of video raw data resolution.
MobileRTCRawDataError
MobileRTCRawDataError An enumeration of raw data.
MobileRTCVideoResolution resolution
the video resolution of MobileRTCRenderer object.
MobileRTCVideoType videoType
the video type of MobileRTCRenderer object.
NSUInteger userId
the userId of MobileRTCRenderer object.
MobileRTCRawDataError unSubscribe()
Call the function to unsubscribe video raw data.