OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2013 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/pc/webrtcsessiondescriptionfactory.h" | 11 #include "webrtc/pc/webrtcsessiondescriptionfactory.h" |
12 | 12 |
13 #include <utility> | 13 #include <utility> |
14 | 14 |
15 #include "webrtc/api/jsep.h" | 15 #include "webrtc/api/jsep.h" |
16 #include "webrtc/api/jsepsessiondescription.h" | 16 #include "webrtc/api/jsepsessiondescription.h" |
17 #include "webrtc/api/mediaconstraintsinterface.h" | 17 #include "webrtc/api/mediaconstraintsinterface.h" |
18 #include "webrtc/base/checks.h" | |
19 #include "webrtc/base/sslidentity.h" | |
20 #include "webrtc/pc/webrtcsession.h" | 18 #include "webrtc/pc/webrtcsession.h" |
| 19 #include "webrtc/rtc_base/checks.h" |
| 20 #include "webrtc/rtc_base/sslidentity.h" |
21 | 21 |
22 using cricket::MediaSessionOptions; | 22 using cricket::MediaSessionOptions; |
23 | 23 |
24 namespace webrtc { | 24 namespace webrtc { |
25 namespace { | 25 namespace { |
26 static const char kFailedDueToIdentityFailed[] = | 26 static const char kFailedDueToIdentityFailed[] = |
27 " failed because DTLS identity request failed"; | 27 " failed because DTLS identity request failed"; |
28 static const char kFailedDueToSessionShutdown[] = | 28 static const char kFailedDueToSessionShutdown[] = |
29 " failed because the session was shut down"; | 29 " failed because the session was shut down"; |
30 | 30 |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 if (create_session_description_requests_.front().type == | 501 if (create_session_description_requests_.front().type == |
502 CreateSessionDescriptionRequest::kOffer) { | 502 CreateSessionDescriptionRequest::kOffer) { |
503 InternalCreateOffer(create_session_description_requests_.front()); | 503 InternalCreateOffer(create_session_description_requests_.front()); |
504 } else { | 504 } else { |
505 InternalCreateAnswer(create_session_description_requests_.front()); | 505 InternalCreateAnswer(create_session_description_requests_.front()); |
506 } | 506 } |
507 create_session_description_requests_.pop(); | 507 create_session_description_requests_.pop(); |
508 } | 508 } |
509 } | 509 } |
510 } // namespace webrtc | 510 } // namespace webrtc |
OLD | NEW |