//
//  WWVideoReplayView.h
//  wanwayInternet
//made in zhongdao  Copyright © 2020 liuchao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AAPLEAGLLayer.h"

NS_ASSUME_NONNULL_BEGIN

UIKIT_EXTERN NSString *WWCarVideoReplayLastChannel;

@protocol WWVideoReplayViewDelegate <NSObject>

- (void)viedoReplayView:(UIView *)videoView fullScreenAction:(BOOL)fullScreen;

@end

@interface VideoPlayView : UIView

@property (nonatomic,strong)AAPLEAGLLayer *playLayer;
@property (nonatomic, weak) id<WWVideoReplayViewDelegate> repalyDelegate;
@property (nonatomic, strong) NSString *wsUrl;
@property (nonatomic, assign) BOOL isPlaying;

- (void)beginShow;
- (void)endShow;
@end

NS_ASSUME_NONNULL_END
