rawrtc / rawrtc-data-channel

A standalone WebRTC and ORTC data channel implementation.
BSD 2-Clause "Simplified" License
52 stars 6 forks source link

Respect negotiated amount of channels #19

Open lgrahl opened 6 years ago

lgrahl commented 6 years ago

That should be min(negotiated_incoming_streams, negotiated_outgoing_streams).

lgrahl commented 5 years ago

Furthermore, the rawrtc_sctp_transport_get_n_streams function should be replaced by rawrtc_sctp_transport_get_max_channels following the definition of RTCSctpTransport.maxChannels.