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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user