EMCallVideoView.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //
  2. // EMCallVideoView.h
  3. // RtcSDK
  4. //
  5. // Created by XieYajie on 2018/10/29.
  6. // Copyright © 2018 easemob. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /*!
  12. * \~chinese
  13. * 视频通话页面缩放方式
  14. *
  15. * \~english
  16. * Video view scale mode
  17. */
  18. typedef enum {
  19. EMCallViewScaleModeAspectFit = 0, /*! \~chinese 按比例缩放 \~english Aspect fit */
  20. EMCallViewScaleModeAspectFill = 1, /*! \~chinese 全屏 \~english Aspect fill */
  21. } EMCallViewScaleMode;
  22. @interface EMCallLocalVideoView : UIView
  23. /*!
  24. * \~chinese
  25. * 视频通话页面缩放方式
  26. *
  27. * \~english
  28. * Video view scale mode
  29. */
  30. @property (nonatomic, assign) EMCallViewScaleMode scaleMode;
  31. @end
  32. @interface EMCallRemoteVideoView : UIView
  33. /*!
  34. * \~chinese
  35. * 视频通话页面缩放方式
  36. *
  37. * \~english
  38. * Video view scale mode
  39. */
  40. @property (nonatomic, assign) EMCallViewScaleMode scaleMode;
  41. @end
  42. @interface EMCallLocalView : EMCallLocalVideoView
  43. @end
  44. @interface EMCallRemoteView : EMCallRemoteVideoView
  45. @end
  46. NS_ASSUME_NONNULL_END