OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 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/pc/webrtcsdp.h" | 11 #include "webrtc/pc/webrtcsdp.h" |
12 | 12 |
13 #include <ctype.h> | 13 #include <ctype.h> |
14 #include <limits.h> | 14 #include <limits.h> |
15 #include <stdio.h> | 15 #include <stdio.h> |
16 | 16 |
17 #include <algorithm> | 17 #include <algorithm> |
18 #include <memory> | 18 #include <memory> |
19 #include <string> | 19 #include <string> |
20 #include <unordered_map> | 20 #include <unordered_map> |
21 #include <vector> | 21 #include <vector> |
22 | 22 |
23 #include "webrtc/api/jsepicecandidate.h" | 23 #include "webrtc/api/jsepicecandidate.h" |
24 #include "webrtc/api/jsepsessiondescription.h" | 24 #include "webrtc/api/jsepsessiondescription.h" |
25 #include "webrtc/base/arraysize.h" | 25 #include "webrtc/rtc_base/arraysize.h" |
26 #include "webrtc/base/checks.h" | 26 #include "webrtc/rtc_base/checks.h" |
27 #include "webrtc/base/logging.h" | 27 #include "webrtc/rtc_base/logging.h" |
28 #include "webrtc/base/messagedigest.h" | 28 #include "webrtc/rtc_base/messagedigest.h" |
29 #include "webrtc/base/stringutils.h" | 29 #include "webrtc/rtc_base/stringutils.h" |
30 // for RtpExtension | 30 // for RtpExtension |
31 #include "webrtc/config.h" | 31 #include "webrtc/config.h" |
32 #include "webrtc/media/base/codec.h" | 32 #include "webrtc/media/base/codec.h" |
33 #include "webrtc/media/base/cryptoparams.h" | 33 #include "webrtc/media/base/cryptoparams.h" |
34 #include "webrtc/media/base/mediaconstants.h" | 34 #include "webrtc/media/base/mediaconstants.h" |
35 #include "webrtc/media/base/rtputils.h" | 35 #include "webrtc/media/base/rtputils.h" |
36 #include "webrtc/media/sctp/sctptransportinternal.h" | 36 #include "webrtc/media/sctp/sctptransportinternal.h" |
37 #include "webrtc/p2p/base/candidate.h" | 37 #include "webrtc/p2p/base/candidate.h" |
38 #include "webrtc/p2p/base/p2pconstants.h" | 38 #include "webrtc/p2p/base/p2pconstants.h" |
39 #include "webrtc/p2p/base/port.h" | 39 #include "webrtc/p2p/base/port.h" |
(...skipping 3274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3314 UpdateCodec<AudioContentDescription, cricket::AudioCodec>( | 3314 UpdateCodec<AudioContentDescription, cricket::AudioCodec>( |
3315 media_desc, payload_type, feedback_param); | 3315 media_desc, payload_type, feedback_param); |
3316 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) { | 3316 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) { |
3317 UpdateCodec<VideoContentDescription, cricket::VideoCodec>( | 3317 UpdateCodec<VideoContentDescription, cricket::VideoCodec>( |
3318 media_desc, payload_type, feedback_param); | 3318 media_desc, payload_type, feedback_param); |
3319 } | 3319 } |
3320 return true; | 3320 return true; |
3321 } | 3321 } |
3322 | 3322 |
3323 } // namespace webrtc | 3323 } // namespace webrtc |
OLD | NEW |