Fix sequence error with our webrtc sctp support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6232 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7f649df33e
commit
1636db0c6d
1 changed files with 2 additions and 2 deletions
|
@ -1677,7 +1677,7 @@ static neterr_t SCTP_Transmit(sctp_t *sctp, struct icestate_s *peer, const void
|
||||||
init->arwc = BigLong(65535);
|
init->arwc = BigLong(65535);
|
||||||
init->numoutstreams = BigShort(2);
|
init->numoutstreams = BigShort(2);
|
||||||
init->numinstreams = BigShort(2);
|
init->numinstreams = BigShort(2);
|
||||||
init->tsn = sctp->o.tsn;
|
init->tsn = BigLong(sctp->o.tsn);
|
||||||
ftsn->ptype = BigShort(49152);
|
ftsn->ptype = BigShort(49152);
|
||||||
ftsn->plen = BigShort(sizeof(*ftsn));
|
ftsn->plen = BigShort(sizeof(*ftsn));
|
||||||
pktlen += sizeof(*init) + sizeof(*ftsn);
|
pktlen += sizeof(*init) + sizeof(*ftsn);
|
||||||
|
@ -2936,7 +2936,7 @@ static void FTENET_ICE_Establish(ftenet_ice_connection_t *b, int cl, struct ices
|
||||||
usewebrtc = false;
|
usewebrtc = false;
|
||||||
#else
|
#else
|
||||||
if (!*net_ice_usewebrtc.string)
|
if (!*net_ice_usewebrtc.string)
|
||||||
usewebrtc = b->generic.islisten; //its broken for clients right now, apparently. don't break browsers connecting to servers though.
|
usewebrtc = b->generic.islisten;
|
||||||
else
|
else
|
||||||
usewebrtc = net_ice_usewebrtc.ival;
|
usewebrtc = net_ice_usewebrtc.ival;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue