Bug 1211091 - use upper boundary for streams per data channel. r=bwc

This commit is contained in:
Nils Ohlmeier [:drno] 2015-10-02 21:18:48 -07:00
parent b252cf07a1
commit 4b80c70ece

View File

@ -1269,7 +1269,7 @@ PeerConnectionImpl::InitializeDataChannel()
channels = MAX_NUM_STREAMS;
}
rv = EnsureDataConnection(codec->mChannels);
rv = EnsureDataConnection(channels);
if (NS_SUCCEEDED(rv)) {
uint16_t localport = 5000;
uint16_t remoteport = 0;