BGTLinkMicPlayItem.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // BGTLinkMicPlayItem.h
  3. // BuguLive
  4. //
  5. // Created by xfg on 2017/1/20.
  6. // Copyright © 2017年 xfg. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class TCLivePlayListenerImpl;
  10. @interface BGTLinkMicPlayItem : NSObject
  11. {
  12. UIView* _loadingBackground;
  13. UITextView * _loadingTextView;
  14. UIImageView * _loadingImageView;
  15. }
  16. @property (nonatomic, assign) BOOL pending;
  17. @property (nonatomic, assign) BOOL isWorking;
  18. @property (nonatomic, strong) NSString* userID;
  19. @property (nonatomic, strong) NSString* playUrl;
  20. @property (nonatomic, retain) TCLivePlayListenerImpl* livePlayListener;
  21. @property (nonatomic, retain) TXLivePlayer * livePlayer;
  22. @property (nonatomic, strong) UIView* videoView;
  23. @property (nonatomic, strong) UIButton* btnKickout;
  24. @property (nonatomic, assign) NSInteger itemIndex;
  25. @property (nonatomic, assign) NSInteger reStartTimes; // 重试次数
  26. - (void)emptyPlayInfo;
  27. - (void)setLoadingText:(NSString*)text;
  28. - (void)initLoadingView:(UIView*)view;
  29. - (void)startLoading;
  30. - (void)stopLoading;
  31. - (void)startPlay:(NSString*)playUrl;
  32. - (void)reStartPlay;
  33. - (void)stopPlay;
  34. @end