broadcast-box: Lack of JitterBuffering on input causes playback issues

I’ve been trying to stream with webrtc for some days now but keep running into the same issue.

First up: I’m on Gentoo. Tried the Flatpak build from the linked site in #20 but that didn’t work at all. After that I compiled obs from master, using the submodules on libdatachannel as opposed to native libraries. With this setup I could stream to broadcast-box on localhost and watch it just fine.

Opening port 8080 others could watch my stream as well, and streaming to my public ipv4 address worked without any issues either. However, I want to run broadcast box on my remote server and this is where the issue arises. I copied the files over and executed the same command to start the server but can’t get any video to show up. To make sure it’s not some issues with blocked ports I made an ssh tunnel forwarding port 8080 to my local machine and have broadcast box running there. Under this setup the stream works again.

I don’t understand why it only works when the server is running my local machine. Both machines used the same command to start it (INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP=yes UDP_MUX_PORT=8080 APP_ENV=production go run .), using the same files and have the same go compiler running it.

My friend used the windows build from the linked issue and streamed to the same addresses I did, with the same results. When I could stream he could too, and when it was broken for me it was broken for him. The only difference was when we tried using https://b.siobud.com/, where his stream worked and my stream only had audio.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 24 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I believe you are hitting https://github.com/obsproject/obs-studio/issues/10564

the next release of OBS will handle it properly. Unfortunately nothing Broadcast Box can do to help 😕