wip: 0.2.7

实现了 rtc 握手和打开数据通道
This commit is contained in:
loveuer
2025-05-26 17:40:06 +08:00
parent 5bc695bde3
commit 21287e0874
7 changed files with 194 additions and 97 deletions

View File

@ -15,6 +15,7 @@ server {
location /ushare {
proxy_pass http://localhost:9119;
const rtc = new RTCPeerConnection({iceServers: [{urls: "stun:stun.qq.com:3478"}]})
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;