//
//  AIChatCameraPreviewView.h
//  ChatAgentApp
//
//  Created by caoshiqian on 2025/7/7.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class RTCLocalVideoView;

@protocol AIChatCameraPreviewViewDelegate <NSObject>

- (void)cameraPreviewTriggerSwitchCamera;
- (void)cameraPreviewTriggerClose;

@end

@interface AIChatCameraPreviewView : UIView

@property (nonatomic, strong, readonly) RTCLocalVideoView *rtcVideoView;

@property (nonatomic, weak) id<AIChatCameraPreviewViewDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
