TXVideoLoadingController.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // TXVideoLoadingController.h
  3. // TCLVBIMDemo
  4. //
  5. // Created by annidyfeng on 2017/4/17.
  6. // Copyright © 2017年 tencent. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <Photos/Photos.h>
  10. @interface TXVideoLoadingController : UIViewController
  11. @property BOOL composeMode;
  12. - (void)exportAssetList:(NSArray *)videosAssets;
  13. @end
  14. @interface PHAsset (My)
  15. - (NSString *)orignalFilename;
  16. @end
  17. typedef enum {
  18. LBVideoOrientationUp, //Device starts recording in Portrait
  19. LBVideoOrientationDown, //Device starts recording in Portrait upside down
  20. LBVideoOrientationLeft, //Device Landscape Left (home button on the left side)
  21. LBVideoOrientationRight, //Device Landscape Right (home button on the Right side)
  22. LBVideoOrientationNotFound = 99 //An Error occurred or AVAsset doesn't contains video track
  23. } LBVideoOrientation;
  24. @interface AVAsset (My)
  25. /**
  26. Returns a LBVideoOrientation that is the orientation
  27. of the iPhone / iPad whent starst recording
  28. @return A LBVideoOrientation that is the orientation of the video
  29. */
  30. @property (nonatomic, readonly) LBVideoOrientation videoOrientation;
  31. @end