QNTranscodingLiveStreamingTrack.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // QNTranscodingLiveStreamingTrack.h
  3. // QNRTCKit
  4. //
  5. // Created by tony.jing on 2021/8/17.
  6. // Copyright © 2021 Pili Engineering, Qiniu Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <CoreGraphics/CoreGraphics.h>
  10. #import "QNTypeDefines.h"
  11. @interface QNTranscodingLiveStreamingTrack : NSObject
  12. /*!
  13. * @abstract 当前要操作的 Track 的 id。
  14. */
  15. @property (nonatomic, strong) NSString *trackID;
  16. /*!
  17. * @abstract 该 Track 在合流画面中的大小和位置,该属性仅对视频 Track 有效。
  18. */
  19. @property (nonatomic, assign) CGRect frame;
  20. /*!
  21. * @abstract 该 Track 在合流画面中的层次,0 为最底层。该属性仅对视频 Track 有效。
  22. */
  23. @property (nonatomic, assign) NSUInteger zOrder;
  24. /*!
  25. * @abstract 图像的填充模式, 默认设置填充模式将继承 QNTranscodingLiveStreamingConfig 中数值
  26. */
  27. @property (nonatomic, assign) QNVideoFillModeType fillMode;
  28. /*!
  29. * @abstract 是否在合流中添加视频 Track 的 SEI 内容,针对所有合流视频 Track,默认只能设置一路 SEI
  30. */
  31. @property (nonatomic, assign) BOOL supportSEI;
  32. @end