QNRemoteUser.h 927 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // QNRemoteUser.h
  3. // QNRTCKit
  4. //
  5. // Created by 何云旗 on 2022/1/6.
  6. // Copyright © 2022 Pili Engineering, Qiniu Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "QNTrack.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface QNRemoteUser : NSObject
  12. /*!
  13. * @abstract 用户的唯一标识。
  14. *
  15. * @since v5.0.0
  16. */
  17. @property (nonatomic, readonly) NSString *userID;
  18. /*!
  19. * @abstract SDK 可将 userData 传给房间中的其它用户,如无需求可置为 nil。
  20. *
  21. * @since v5.0.0
  22. */
  23. @property (nonatomic, readonly) NSString *userData;
  24. /*!
  25. * @abstract 远端用户发布的视频 track 列表。
  26. *
  27. * @since v4.0.0
  28. */
  29. @property (nonatomic,strong, readonly) NSArray <QNRemoteVideoTrack *> *videoTrack;
  30. /*!
  31. * @abstract 远端用户发布的音频 track 列表。
  32. *
  33. * @since v4.0.0
  34. */
  35. @property (nonatomic,strong, readonly) NSArray <QNRemoteAudioTrack *> *audioTrack;
  36. @end
  37. NS_ASSUME_NONNULL_END