OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 #include "webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestSenderReceiver.h" | 11 #include "webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestSenderReceiver.h" |
12 | 12 |
13 #include <stdio.h> | 13 #include <stdio.h> |
14 #include <stdlib.h> | 14 #include <stdlib.h> |
15 | 15 |
16 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h" | 16 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
17 #include "webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestLoadGenerator.h" | 17 #include "webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestLoadGenerator.h" |
18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
19 #include "webrtc/system_wrappers/include/event_wrapper.h" | 19 #include "webrtc/system_wrappers/include/event_wrapper.h" |
20 #include "webrtc/system_wrappers/include/tick_util.h" | 20 #include "webrtc/system_wrappers/include/tick_util.h" |
21 #include "webrtc/test/channel_transport/udp_transport.h" | 21 #include "webrtc/test/channel_transport/udp_transport.h" |
22 | 22 |
23 #define NR_OF_SOCKET_BUFFERS 500 | 23 #define NR_OF_SOCKET_BUFFERS 500 |
24 | 24 |
25 | 25 |
26 bool ProcThreadFunction(void *obj) | 26 bool ProcThreadFunction(void *obj) |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 | 402 |
403 if (_sendRecCB) | 403 if (_sendRecCB) |
404 { | 404 { |
405 _sendRecCB->OnOnNetworkChanged(maxBitrateBps, | 405 _sendRecCB->OnOnNetworkChanged(maxBitrateBps, |
406 fractionLost, | 406 fractionLost, |
407 roundTripTimeMs, | 407 roundTripTimeMs, |
408 bwEstimateKbitMin, | 408 bwEstimateKbitMin, |
409 bwEstimateKbitMax); | 409 bwEstimateKbitMax); |
410 } | 410 } |
411 } | 411 } |
OLD | NEW |