OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #import "ARDStatsBuilder.h" | 11 #import "ARDStatsBuilder.h" |
12 | 12 |
13 #import "webrtc/api/objc/RTCStatsReport.h" | 13 #import "WebRTC/RTCStatsReport.h" |
14 | 14 |
15 #import "ARDBitrateTracker.h" | 15 #import "ARDBitrateTracker.h" |
16 #import "ARDUtilities.h" | 16 #import "ARDUtilities.h" |
17 | 17 |
18 @implementation ARDStatsBuilder { | 18 @implementation ARDStatsBuilder { |
19 // Connection stats. | 19 // Connection stats. |
20 NSString *_connRecvBitrate; | 20 NSString *_connRecvBitrate; |
21 NSString *_connRtt; | 21 NSString *_connRtt; |
22 NSString *_connSendBitrate; | 22 NSString *_connSendBitrate; |
23 NSString *_localCandType; | 23 NSString *_localCandType; |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 } else if ([key isEqualToString:@"bytesReceived"]) { | 290 } else if ([key isEqualToString:@"bytesReceived"]) { |
291 NSInteger byteCount = value.integerValue; | 291 NSInteger byteCount = value.integerValue; |
292 [_videoRecvBitrateTracker updateBitrateWithCurrentByteCount:byteCount]; | 292 [_videoRecvBitrateTracker updateBitrateWithCurrentByteCount:byteCount]; |
293 _videoRecvBitrate = _videoRecvBitrateTracker.bitrateString; | 293 _videoRecvBitrate = _videoRecvBitrateTracker.bitrateString; |
294 } | 294 } |
295 }]; | 295 }]; |
296 } | 296 } |
297 | 297 |
298 @end | 298 @end |
299 | 299 |
OLD | NEW |