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/api/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" | |
17 #include "webrtc/api/mediaconstraintsinterface.h" | 16 #include "webrtc/api/mediaconstraintsinterface.h" |
18 #include "webrtc/api/webrtcsession.h" | |
19 #include "webrtc/base/sslidentity.h" | 17 #include "webrtc/base/sslidentity.h" |
| 18 #include "webrtc/pc/jsepsessiondescription.h" |
| 19 #include "webrtc/pc/webrtcsession.h" |
20 | 20 |
21 using cricket::MediaSessionOptions; | 21 using cricket::MediaSessionOptions; |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 namespace { | 24 namespace { |
25 static const char kFailedDueToIdentityFailed[] = | 25 static const char kFailedDueToIdentityFailed[] = |
26 " failed because DTLS identity request failed"; | 26 " failed because DTLS identity request failed"; |
27 static const char kFailedDueToSessionShutdown[] = | 27 static const char kFailedDueToSessionShutdown[] = |
28 " failed because the session was shut down"; | 28 " failed because the session was shut down"; |
29 | 29 |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 if (create_session_description_requests_.front().type == | 488 if (create_session_description_requests_.front().type == |
489 CreateSessionDescriptionRequest::kOffer) { | 489 CreateSessionDescriptionRequest::kOffer) { |
490 InternalCreateOffer(create_session_description_requests_.front()); | 490 InternalCreateOffer(create_session_description_requests_.front()); |
491 } else { | 491 } else { |
492 InternalCreateAnswer(create_session_description_requests_.front()); | 492 InternalCreateAnswer(create_session_description_requests_.front()); |
493 } | 493 } |
494 create_session_description_requests_.pop(); | 494 create_session_description_requests_.pop(); |
495 } | 495 } |
496 } | 496 } |
497 } // namespace webrtc | 497 } // namespace webrtc |
OLD | NEW |