Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Side by Side Diff: webrtc/api/webrtcsdp.cc

Issue 2564333002: Reland of: Separating SCTP code from BaseChannel/MediaChannel. (Closed)
Patch Set: Another attempt. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
(...skipping 15 matching lines...) Expand all
26 #include "webrtc/base/common.h" 26 #include "webrtc/base/common.h"
27 #include "webrtc/base/logging.h" 27 #include "webrtc/base/logging.h"
28 #include "webrtc/base/messagedigest.h" 28 #include "webrtc/base/messagedigest.h"
29 #include "webrtc/base/stringutils.h" 29 #include "webrtc/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/sctpdataengine.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"
40 #include "webrtc/pc/mediasession.h" 40 #include "webrtc/pc/mediasession.h"
41 41
42 using cricket::AudioContentDescription; 42 using cricket::AudioContentDescription;
43 using cricket::Candidate; 43 using cricket::Candidate;
44 using cricket::Candidates; 44 using cricket::Candidates;
45 using cricket::ContentDescription; 45 using cricket::ContentDescription;
46 using cricket::ContentInfo; 46 using cricket::ContentInfo;
(...skipping 3174 matching lines...) Expand 10 before | Expand all | Expand 10 after
3221 UpdateCodec<AudioContentDescription, cricket::AudioCodec>( 3221 UpdateCodec<AudioContentDescription, cricket::AudioCodec>(
3222 media_desc, payload_type, feedback_param); 3222 media_desc, payload_type, feedback_param);
3223 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) { 3223 } else if (media_type == cricket::MEDIA_TYPE_VIDEO) {
3224 UpdateCodec<VideoContentDescription, cricket::VideoCodec>( 3224 UpdateCodec<VideoContentDescription, cricket::VideoCodec>(
3225 media_desc, payload_type, feedback_param); 3225 media_desc, payload_type, feedback_param);
3226 } 3226 }
3227 return true; 3227 return true;
3228 } 3228 }
3229 3229
3230 } // namespace webrtc 3230 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698