Glimesh / broadcast-box

A broadcast, in a box.
MIT License
1.44k stars 78 forks source link

Deployed broadcast-box to GCP but it seems not working like demo site #37

Closed littleq0903 closed 1 year ago

littleq0903 commented 1 year ago

I created the SSL certificate and modified main.go to adapt it, but it was not working even before the modification.

my webrtc-internals

image

I ran with port 443 and with port forwarding 80 -> 443, APP_ENV=production

is there any setup that readme didn't mention?

littleq0903 commented 1 year ago

https://*****/publish/test, { iceServers: [], iceTransportPolicy: all, bundlePolicy: balanced, rtcpMuxPolicy: require, iceCandidatePoolSize: 0 }

ICE connection state: new => checking Connection state: new => connecting Signaling state: new => have-local-offer => stable ICE Candidate pair:

littleq0903 commented 1 year ago

I did this docker run --rm -e UDP_MUX_PORT=8080 -e NAT_1_TO_1_IP=127.0.0.1 -p 8080:8080 -p 8080:8080/udp seaduboi/ broadcast-box in my local machine, it doesn't work as well, and this looks like different version than the main branch, but looks like b.siobud.com version

littleq0903 commented 1 year ago

Never mind, I resovled it, somehow on my google cloud the server tag didn't apply so udp on all ports are blocked.

Sean-Der commented 1 year ago

Glad you got it working! I idle on Slack and able to help faster there :)