ZMVideoSDKCRCHelper.h 903 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. #import <Foundation/Foundation.h>
  3. NS_ASSUME_NONNULL_BEGIN
  4. @interface ZMVideoSDKCRCHelper : NSObject
  5. /**
  6. @brief Queries if the CRC feature is enabled.
  7. @return YES means that the CRC is enabled, otherwise it's disabled.
  8. @warning only get the correct value after joining the session.
  9. */
  10. - (BOOL)isCRCEnabled;
  11. /**
  12. @brief Calls the CRC device. Only available for the host/co-host.
  13. @param address The CRC device's IP address.
  14. @param callProtocol The protocol of the CRC device.
  15. @return If the function succeeds, it will return ZMVideoSDKErrors_Success.
  16. */
  17. - (ZMVideoSDKErrors)callCRCDevice:(NSString *)address protocol:(ZMVideoSDKCRCProtocol)callProtocol;
  18. /**
  19. @brief Cancels the call to the CRC device. Only available for the host/co-host.
  20. @return If the function succeeds, it will return ZMVideoSDKErrors_Success.
  21. */
  22. - (ZMVideoSDKErrors)cancelCallCRCDevice;
  23. @end
  24. NS_ASSUME_NONNULL_END