Sets the SCTP port codec in the native SessionDescription.

Previously it's only set when a SDP string is parsed into SessionDescription, causing failuring for native client.

BUG=3141
R=juberti@webrtc.org, wu@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/11999004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6036 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
jiayl@webrtc.org
2014-05-01 18:30:30 +00:00
parent 53d82350c5
commit 9c16c39e61
9 changed files with 151 additions and 49 deletions

View File

@@ -58,6 +58,12 @@ namespace cricket {
// tell SCTP we're going to use.
const uint32 kMaxSctpSid = 1023;
// This is the default SCTP port to use. It is passed along the wire and the
// connectee and connector must be using the same port. It is not related to the
// ports at the IP level. (Corresponds to: sockaddr_conn.sconn_port in
// usrsctp.h)
const int kSctpDefaultPort = 5000;
// A DataEngine that interacts with usrsctp.
//
// From channel calls, data flows like this: