meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8k stars 2.45k forks source link

datachannel issue - Can't add 'rtp' stream 'test': no datachannels support...... #1589

Closed petergerten closed 5 years ago

petergerten commented 5 years ago

When enabling datachannel support in the streaming plugin I get:

Can't add 'rtp' stream 'dummy': no datachannels support......

Though this looks like https://github.com/meetecho/janus-gateway/issues/1516 I am pretty sure I have datachannel support:

Compiler:                  gcc
libsrtp version:           1.5.x
SSL/crypto library:        OpenSSL
DTLS set-timeout:          not available
Mutex implementation:      GMutex (native futex on Linux)
DataChannels support:      yes

Janus 0.7 (git master from today)

petergerten commented 5 years ago

After setting up everything from scratch in a docker container to make it reproducible, I could not reproduce the above issue but get:

[ERR] [sdp-utils.c:janus_sdp_parse:543] Invalid line (2nd char is not '='):  9 UDP/TLS/RTP/SAVPF  
[ERR] [sdp.c:janus_sdp_preparse:40]   Error parsing SDP? Invalid line (2nd char is not '='):  9 UDP/TLS/RTP/SAVPF
petergerten commented 5 years ago

It tuned out my client had an issue with BUNDLE support and returned an invalid SDP.