rawrtc-data-channel
rawrtc-data-channel copied to clipboard
Respect negotiated amount of channels
That should be min(negotiated_incoming_streams, negotiated_outgoing_streams).
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.