DTLS-DTLS未启用

时间:2016-03-29 19:56:48

标签: webrtc sipml

我构建了webrtc2sip的源代码,当我运行它时,我收到了消息:

SSL is enabled :)
DTLS supported: yes
DTLS-SRTP supported: yes

使用sipML5的页面连接没有错误,websocket连接到我的webrtc2sip网关。在SIPml.Stack中,我使用选项:websocket_proxy_url,地址为:

ws://192.168.1.102:10060

但是当我发送邀请(音频通话)时,我收到此错误:

***[DOUBANGO ERROR]: function: "tdav_session_av_set_ro()" 
file: "/Users/kamil/doubango/tinyDAV/src/tdav_session_av.c" 
line: "1416" 
MSG: Remote party requesting DTLS-DTLS (UDP/TLS/RTP/SAVPF) but this option is not enabled

证书有问题吗?或者也许用openssl(1.0.2g)?

1 个答案:

答案 0 :(得分:1)

对于使用SSL,正确的websocket_proxy_url应为:

wss://{SSL Domain}:{WSS Port}

其中:

{SSL Domain} is your Fully Qualified Domain Name associated with your SSL key

{WSS Port} is the wss port you have configured in the webrtc2sip config.xml file