TCBasePlayViewController.h 864 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // TCBasePlayViewController.h
  3. // TCLVBIMDemo
  4. //
  5. // Created by annidyfeng on 2017/9/15.
  6. // Copyright © 2017年 tencent. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "TCPlayDecorateView.h"
  10. #import "TCLiveListModel.h"
  11. #import "TCBasePlayViewController.h"
  12. typedef void(^videoIsReadyBlock)(void);
  13. extern NSString *const kTCLivePlayError;
  14. @interface TCBasePlayViewController : UIViewController
  15. @property TCLiveInfo *liveInfo;
  16. @property (nonatomic, copy) videoIsReadyBlock videoIsReady;
  17. -(id)initWithPlayInfo:(TCLiveInfo *)info videoIsReady:(videoIsReadyBlock)videoIsReady;
  18. - (void) toastTip:(NSString*)toastInfo;
  19. - (void)shareLive;
  20. -(UIImage*)scaleImage:(UIImage *)image scaleToSize:(CGSize)size;
  21. -(UIImage *)clipImage:(UIImage *)image inRect:(CGRect)rect;
  22. -(UIImage *)gsImage:(UIImage *)image withGsNumber:(CGFloat)blur;
  23. @end