@byteplus/react-native-rtc 1.1.1-rc.1 → 1.1.1-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,8 @@
12
12
 
13
13
  + (instancetype) getInstance;
14
14
 
15
+ + (bool) isUnionLiveModeEnable;
16
+
15
17
  - (void)onStreamPushEvent:(ByteRTCSingleStreamPushEvent)event
16
18
  taskId:(NSString *_Nonnull)taskID
17
19
  error:(NSInteger)errorCode;
@@ -22,6 +22,13 @@
22
22
  return instance;
23
23
  }
24
24
 
25
+ + (bool)isUnionLiveModeEnable {
26
+ #ifdef ENABLE_UNION_FOR_RTC_WITH_LIVE
27
+ return true;
28
+ #endif
29
+ return false;
30
+ }
31
+
25
32
  - (void)onStreamPushEvent:(ByteRTCSingleStreamPushEvent)event
26
33
  taskId:(NSString *_Nonnull)taskID
27
34
  error:(NSInteger)errorCode {