问题标签 [rfc5766turnserver]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
62 浏览

c# - 请求击晕服务器(Coturn)

m create a coturn server and check it by TrickleICE https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ . Its work. Now i want to write simple client. I通过 UDP 客户端连接到服务器:

然后我像这里描述的那样创建标题和属性字节数组:https ://datatracker.ietf.org/doc/html/rfc5766

创建标头示例:

当我通过 stun 协议(https://datatracker.ietf.org/doc/html/rfc3489#section-11.1)发送没有任何属性的标头时,服务器日志显示:

使用属性(如这里:https ://datatracker.ietf.org/doc/html/rfc5766#section-16 ):

我没有得到任何回应。

我哪里做错了?