| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 if (create_session_description_requests_.front().type == | 500 if (create_session_description_requests_.front().type == |
| 501 CreateSessionDescriptionRequest::kOffer) { | 501 CreateSessionDescriptionRequest::kOffer) { |
| 502 InternalCreateOffer(create_session_description_requests_.front()); | 502 InternalCreateOffer(create_session_description_requests_.front()); |
| 503 } else { | 503 } else { |
| 504 InternalCreateAnswer(create_session_description_requests_.front()); | 504 InternalCreateAnswer(create_session_description_requests_.front()); |
| 505 } | 505 } |
| 506 create_session_description_requests_.pop(); | 506 create_session_description_requests_.pop(); |
| 507 } | 507 } |
| 508 } | 508 } |
| 509 } // namespace webrtc | 509 } // namespace webrtc |
| OLD | NEW |