OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 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/api/webrtcsession.h" | 11 #include "webrtc/api/webrtcsession.h" |
12 | 12 |
13 #include <limits.h> | 13 #include <limits.h> |
14 | 14 |
15 #include <algorithm> | 15 #include <algorithm> |
16 #include <set> | 16 #include <set> |
17 #include <utility> | 17 #include <utility> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
| 20 #include "webrtc/api/audio/audio_sink.h" |
20 #include "webrtc/api/jsepicecandidate.h" | 21 #include "webrtc/api/jsepicecandidate.h" |
21 #include "webrtc/api/jsepsessiondescription.h" | 22 #include "webrtc/api/jsepsessiondescription.h" |
22 #include "webrtc/api/peerconnectioninterface.h" | 23 #include "webrtc/api/peerconnectioninterface.h" |
23 #include "webrtc/api/sctputils.h" | 24 #include "webrtc/api/sctputils.h" |
24 #include "webrtc/api/webrtcsessiondescriptionfactory.h" | 25 #include "webrtc/api/webrtcsessiondescriptionfactory.h" |
25 #include "webrtc/audio_sink.h" | |
26 #include "webrtc/base/basictypes.h" | 26 #include "webrtc/base/basictypes.h" |
27 #include "webrtc/base/checks.h" | 27 #include "webrtc/base/checks.h" |
28 #include "webrtc/base/helpers.h" | 28 #include "webrtc/base/helpers.h" |
29 #include "webrtc/base/logging.h" | 29 #include "webrtc/base/logging.h" |
30 #include "webrtc/base/stringencode.h" | 30 #include "webrtc/base/stringencode.h" |
31 #include "webrtc/base/stringutils.h" | 31 #include "webrtc/base/stringutils.h" |
32 #include "webrtc/call.h" | 32 #include "webrtc/call.h" |
33 #include "webrtc/media/base/mediaconstants.h" | 33 #include "webrtc/media/base/mediaconstants.h" |
34 #include "webrtc/media/base/videocapturer.h" | 34 #include "webrtc/media/base/videocapturer.h" |
35 #include "webrtc/p2p/base/portallocator.h" | 35 #include "webrtc/p2p/base/portallocator.h" |
(...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2142 ssl_cipher_suite); | 2142 ssl_cipher_suite); |
2143 } | 2143 } |
2144 } | 2144 } |
2145 | 2145 |
2146 void WebRtcSession::OnSentPacket_w(const rtc::SentPacket& sent_packet) { | 2146 void WebRtcSession::OnSentPacket_w(const rtc::SentPacket& sent_packet) { |
2147 RTC_DCHECK(worker_thread()->IsCurrent()); | 2147 RTC_DCHECK(worker_thread()->IsCurrent()); |
2148 media_controller_->call_w()->OnSentPacket(sent_packet); | 2148 media_controller_->call_w()->OnSentPacket(sent_packet); |
2149 } | 2149 } |
2150 | 2150 |
2151 } // namespace webrtc | 2151 } // namespace webrtc |
OLD | NEW |