This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module unreal-to-whip | |
go 1.23.0 | |
require ( | |
github.com/pion/webrtc/v3 v3.3.1 | |
golang.org/x/net v0.29.0 | |
) | |
require ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\duboisea\foo> cat .\go.mod | |
module foo | |
go 1.22.2 | |
require github.com/pion/webrtc/v3 v3.3.0 | |
require ( | |
github.com/davecgh/go-spew v1.1.1 // indirect | |
github.com/google/uuid v1.3.1 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goroutine 54 [semacquire]: | |
runtime.gopark(0x40b7e8?, 0xc0001a45a0?, 0xa0?, 0x45?, 0x10?) | |
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/proc.go:398 +0xce fp=0xc0001a8a58 sp=0xc0001a8a38 pc=0x43dc2e | |
runtime.goparkunlock(...) | |
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/proc.go:404 | |
runtime.semacquire1(0xc000214d98, 0xf0?, 0x1, 0x0, 0x0?) | |
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/sema.go:160 +0x218 fp=0xc0001a8ac0 sp=0xc0001a8a58 pc=0x44e678 | |
sync.runtime_Semacquire(0x7abea5?) | |
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/sema.go:62 +0x25 fp=0xc0001a8af8 sp=0xc0001a8ac0 pc=0x468fe5 | |
sync.(*WaitGroup).Wait(0xc00038fd40?) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
watchtower: | |
restart: always | |
image: containrrr/watchtower:latest | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
broadcast-box: | |
environment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/plugins/obs-webrtc/whip-output.cpp b/plugins/obs-webrtc/whip-output.cpp | |
index e83cc03b8..0e3693992 100644 | |
--- a/plugins/obs-webrtc/whip-output.cpp | |
+++ b/plugins/obs-webrtc/whip-output.cpp | |
@@ -60,6 +60,10 @@ bool WHIPOutput::Start() | |
return false; | |
} | |
+ obs_data_t *video_settings = obs_encoder_get_settings(encoder); | |
+ video_bitrate = (int)obs_data_get_int(video_settings, "bitrate"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>whep-static</title> | |
</head> | |
<body> | |
<h3> Video </h3> | |
<video id="videoPlayer" autoplay muted controls style="width: 500"> </video> | |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024/02/16 02:25:23 Loading `.env.production` | |
[0;33mNETWORK_TEST_ON_START is enabled. If the test fails Broadcast Box will exit. | |
See the README for how to debug or disable NETWORK_TEST_ON_START[0m | |
2024/02/16 02:25:23 Running HTTP Server at `:8080` | |
[0;32mNetwork Test passed. | |
Have fun using Broadcast Box.[0m | |
2024/02/16 05:24:25 Authorization was not set | |
2024/02/16 05:25:38 Authorization was not set | |
2024/02/16 14:22:00 Authorization was not set | |
2024/02/16 14:22:41 Authorization was not set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Ffmpeg < Formula | |
desc "Play, record, convert, and stream audio and video" | |
homepage "https://ffmpeg.org/" | |
url "https://ffmpeg.org/releases/ffmpeg-6.0.tar.xz" | |
sha256 "57be87c22d9b49c112b6d24bc67d42508660e6b718b3db89c44e47e289137082" | |
# None of these parts are used by default, you have to explicitly pass `--enable-gpl` | |
# to configure to activate them. In this case, FFmpeg's license changes to GPL v2+. | |
license "GPL-2.0-or-later" | |
head "https://github.com/FFmpeg/FFmpeg.git", branch: "master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pion has lots of opportunities to get involved. We have lots of self contained projects that would be a lot of fun. Even if you don’t finish the project that is fine. The great thing about Open Source is someone can pick up where you left off. | |
It’s a great way to learn deep WebRTC knowledge. It is also a great pathway into a career in WebRTC. Multiple Pion contributors now work at companies that use the code they wrote. | |
————————————— | |
Network Simulator - Pion needs an easy to use network simulator. Something that developers can use in a few minutes and doesn’t require a Docker container or a long setup process. It can run in memory, but also provides virtual interfaces to test non-Go programs. | |
The simulator will model real world networks. Nog just setting a static packet loss or bandwidth cap. It can dynamically adjust all the attributes of the link. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++ -w -pipe -fno-semantic-interposition -static" | |
-DCMAKE_C_FLAGS="-static-libgcc -w -pipe -fno-semantic-interposition -static" | |
-DCMAKE_SHARED_LINKER_FLAGS="-static-libgcc -static-libstdc++ -L${target_config[output_dir]}/lib -Wl,--exclude-libs,ALL -static" |
NewerOlder