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/api/webrtcsdp.h" | 11 #include "webrtc/api/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 #include <algorithm> | 16 #include <algorithm> |
17 #include <string> | 17 #include <string> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "talk/session/media/mediasession.h" | 20 #include "webrtc/pc/mediasession.h" |
21 #include "webrtc/api/jsepicecandidate.h" | 21 #include "webrtc/api/jsepicecandidate.h" |
22 #include "webrtc/api/jsepsessiondescription.h" | 22 #include "webrtc/api/jsepsessiondescription.h" |
23 #include "webrtc/base/arraysize.h" | 23 #include "webrtc/base/arraysize.h" |
24 #include "webrtc/base/common.h" | 24 #include "webrtc/base/common.h" |
25 #include "webrtc/base/logging.h" | 25 #include "webrtc/base/logging.h" |
26 #include "webrtc/base/messagedigest.h" | 26 #include "webrtc/base/messagedigest.h" |
27 #include "webrtc/base/stringutils.h" | 27 #include "webrtc/base/stringutils.h" |
28 #include "webrtc/media/base/codec.h" | 28 #include "webrtc/media/base/codec.h" |
29 #include "webrtc/media/base/constants.h" | 29 #include "webrtc/media/base/constants.h" |
30 #include "webrtc/media/base/cryptoparams.h" | 30 #include "webrtc/media/base/cryptoparams.h" |
(...skipping 3026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3057 UpdateCodec<AudioContentDescription, cricket::AudioCodec>( | 3057 UpdateCodec<AudioContentDescription, cricket::AudioCodec>( |
3058 media_desc, payload_type, feedback_param); | 3058 media_desc, payload_type, feedback_param); |
3059 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) { | 3059 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) { |
3060 UpdateCodec<VideoContentDescription, cricket::VideoCodec>( | 3060 UpdateCodec<VideoContentDescription, cricket::VideoCodec>( |
3061 media_desc, payload_type, feedback_param); | 3061 media_desc, payload_type, feedback_param); |
3062 } | 3062 } |
3063 return true; | 3063 return true; |
3064 } | 3064 } |
3065 | 3065 |
3066 } // namespace webrtc | 3066 } // namespace webrtc |
OLD | NEW |