Browse Source

chore. remove deprecated api

matrixbirds 5 years ago
parent
commit
c5c1a858e4
2 changed files with 0 additions and 2 deletions
  1. 0
    1
      android/src/main/java/com/syan/agora/AgoraModule.java
  2. 0
    1
      ios/RCTAgora/RCTAgora.m

+ 0
- 1
android/src/main/java/com/syan/agora/AgoraModule.java View File

@@ -815,7 +815,6 @@ public class AgoraModule extends ReactContextBaseJavaModule {
815 815
                 public void run() {
816 816
                     WritableMap statsMap = Arguments.createMap();
817 817
                     statsMap.putInt("uid", stats.uid);
818
-                    statsMap.putInt("delay", stats.delay);
819 818
                     statsMap.putInt("receivedBitrate", stats.receivedBitrate);
820 819
                     statsMap.putInt("receivedFrameRate", stats.receivedFrameRate);
821 820
                     statsMap.putInt("rxStreamType", stats.rxStreamType);

+ 0
- 1
ios/RCTAgora/RCTAgora.m View File

@@ -2050,7 +2050,6 @@ RCT_EXPORT_METHOD(setLiveTranscoding:(NSDictionary *)options) {
2050 2050
   [self sendEvent:RemoteVideoStats params:@{
2051 2051
                                             @"stats": @{
2052 2052
                                                 @"uid": @(stats.uid),
2053
-                                                @"delay": @(stats.delay),
2054 2053
                                                 @"width": @(stats.width),
2055 2054
                                                 @"height": @(stats.height),
2056 2055
                                                 @"receivedBitrate": @(stats.receivedBitrate),