//
//  RTCSiglePageCallView.h
//  rtc_sdk_ios
//
//  Created by v_liyingna on 11/30/22.
//  Copyright © 2022 Sun,Jian(ACU-T102). All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface RTCsubviewInfo : NSObject
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, assign) BOOL isLocal;
@property (nonatomic, assign) CGSize videoResolution;
@property (nonatomic, strong) UIView *showView;

- (instancetype)initWithParams:(BOOL)local uid:(NSString*)userId view:(UIView*)subView size:(CGSize)videoResolution;
@end

@interface RTCSiglePageCallView : UIView
@property(nonatomic, strong) NSMutableArray<NSString *> *remoteUids;
@property(nonatomic, strong) NSMutableArray<NSString *> *allAddedUids;

- (instancetype)initWithFrame:(CGRect)frame isWatch:(BOOL)isWatch;

- (void)addRTCsubView:(NSString *)uId local:(BOOL)isLocal view:(UIView *)subview size:(CGSize)videoRelution show:(BOOL)isShow;

- (void)removeRTCsubView:(NSString *)uId;
@end

NS_ASSUME_NONNULL_END
