//
//  ERTCOtherMembersContentView.h
//  ERTCDemo
//
//  Created by wangjinlong23 on 2022/9/16.
//

#import <UIKit/UIKit.h>
#import "ERTCVideoMeetingManager.h"
NS_ASSUME_NONNULL_BEGIN
@protocol ERTCOtherMembersContentViewProtocol <NSObject>

-(void)pageSwitchingStatus:(BOOL)canShowPreviewBtn canShowNextBtn:(BOOL)canShowNextBtn;
-(void)otherMembersContentViewClickWithModel:(ERTCUserInfo *)model;
-(void)resetBigWindow;
- (void)setBigWindow:(ERTCUserInfo *)model;
@end
@interface ERTCOtherMembersContentView : UIView
@property (nonatomic, strong) NSMutableArray<ERTCUserInfo *> *playerViewModels;
@property (nonatomic, weak) id<ERTCOtherMembersContentViewProtocol> delegate;

-(void)onMemberEnterRoom:(ERTCUserInfo *)notifyModel;
-(void)onMemberExitRoom:(ERTCUserInfo *)notifyModel;
-(void)onMemberInfoUpdate:(ERTCUserInfo *)notifyModel;
- (void)onDisplay:(ERTCUserInfo *)notifyModel;

- (void)startAudioModel;
- (void)cancelAudioModel;
#pragma mark - Page Change Event
-(BOOL)previewPage;
-(void)nextPage;
- (ERTCUserInfo *)getFirstUser;
@end

NS_ASSUME_NONNULL_END
