Browse Source

chore. remove deprecated api

matrixbirds 6 years ago
parent
commit
c5c1a858e4

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

815
                 public void run() {
815
                 public void run() {
816
                     WritableMap statsMap = Arguments.createMap();
816
                     WritableMap statsMap = Arguments.createMap();
817
                     statsMap.putInt("uid", stats.uid);
817
                     statsMap.putInt("uid", stats.uid);
818
-                    statsMap.putInt("delay", stats.delay);
819
                     statsMap.putInt("receivedBitrate", stats.receivedBitrate);
818
                     statsMap.putInt("receivedBitrate", stats.receivedBitrate);
820
                     statsMap.putInt("receivedFrameRate", stats.receivedFrameRate);
819
                     statsMap.putInt("receivedFrameRate", stats.receivedFrameRate);
821
                     statsMap.putInt("rxStreamType", stats.rxStreamType);
820
                     statsMap.putInt("rxStreamType", stats.rxStreamType);

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

2050
   [self sendEvent:RemoteVideoStats params:@{
2050
   [self sendEvent:RemoteVideoStats params:@{
2051
                                             @"stats": @{
2051
                                             @"stats": @{
2052
                                                 @"uid": @(stats.uid),
2052
                                                 @"uid": @(stats.uid),
2053
-                                                @"delay": @(stats.delay),
2054
                                                 @"width": @(stats.width),
2053
                                                 @"width": @(stats.width),
2055
                                                 @"height": @(stats.height),
2054
                                                 @"height": @(stats.height),
2056
                                                 @"receivedBitrate": @(stats.receivedBitrate),
2055
                                                 @"receivedBitrate": @(stats.receivedBitrate),