diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e464dbb..cba00ba 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,8 +28,8 @@ jobs: with: go-version: '1.24' check-latest: true - - name: add ffmpeg7 repo - run: sudo add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg7 + - name: add ffmpeg8 repo + run: sudo add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg8 - name: install fyne run: go install fyne.io/fyne/v2/cmd/fyne@latest - name: apt install diff --git a/go.mod b/go.mod index 5eedb1c..55f58f4 100755 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ replace github.com/wlynxg/anet => github.com/BieHDC/anet v0.0.6-0.20241226223613 replace github.com/nicklaw5/helix/v2 v2.30.1-0.20240715193454-0151ccccf980 => github.com/xaionaro-go/helix/v2 v2.0.0-20250309182928-f54c9d4c8a29 -replace github.com/asticode/go-astiav v0.36.0 => github.com/xaionaro-go/astiav v0.0.0-20260124160203-67afd1e3e67e +replace github.com/asticode/go-astiav v0.36.0 => github.com/xaionaro-go/astiav v0.0.0-20260301205541-c20ea06c4df3 replace github.com/bluenviron/mediacommon/v2 v2.0.1-0.20250324151931-b8ce69d15d3d => github.com/xaionaro-go/mediacommon/v2 v2.0.0-20250420012906-03d6d69ac3b7 diff --git a/go.sum b/go.sum index dafcb2d..1d069c2 100644 --- a/go.sum +++ b/go.sum @@ -4190,8 +4190,8 @@ github.com/xaionaro-go/CycleTLS v0.0.0-20250923213111-aed0022ae7b5 h1:uJZoPvUCOV github.com/xaionaro-go/CycleTLS v0.0.0-20250923213111-aed0022ae7b5/go.mod h1:t3eZQmVI9kJUelyMthvd4kEkLxGAJucvmLCIb2pi2+A= github.com/xaionaro-go/androidetc v0.0.0-20250824193302-b7ecebb3b825 h1:4f2P9/JASUXx2GWhQ6wyGlwOtr+nIfM6PUq9wTHqHmM= github.com/xaionaro-go/androidetc v0.0.0-20250824193302-b7ecebb3b825/go.mod h1:IvRt8Hto32EGtBEf7A94HVxiYEt7hGXLWabjdnUYmAE= -github.com/xaionaro-go/astiav v0.0.0-20260124160203-67afd1e3e67e h1:xjAn+cpZF8H66gY7lGnM1LYJ1QKdnv05HTfjvm9P8s4= -github.com/xaionaro-go/astiav v0.0.0-20260124160203-67afd1e3e67e/go.mod h1:txVrlvD3ErCtyacQ6WBMarn9+oD1V8vk33dWmVCGQhM= +github.com/xaionaro-go/astiav v0.0.0-20260301205541-c20ea06c4df3 h1:eH2v+wTdiM5SSMN+/f/6eSJLQuThho+3vto22Y3kedE= +github.com/xaionaro-go/astiav v0.0.0-20260301205541-c20ea06c4df3/go.mod h1:rMGLNK3tTdIkyxmRUR+OIQnhqqmrpg0Z+StM5cRAXKA= github.com/xaionaro-go/audio v0.0.0-20260202195702-429dcb87c05c h1:FwgHDsrvufOkycvjxky29I42PXNbp023MQHt8kzRzJg= github.com/xaionaro-go/audio v0.0.0-20260202195702-429dcb87c05c/go.mod h1:cE5JNx0p+CIDsjHKqrn+qsYllDE1fR8uaxmilWy5ngw= github.com/xaionaro-go/avcommon v0.0.0-20250823173020-6a2bb1e1f59d h1:++uR850Cqo5qXGTfAq60p2sIfq7oSYK0x0KoKL8B9Ts= diff --git a/pkg/streamd/obs_restarter.go b/pkg/streamd/obs_restarter.go index fc4cc20..d6660d9 100644 --- a/pkg/streamd/obs_restarter.go +++ b/pkg/streamd/obs_restarter.go @@ -35,6 +35,9 @@ func (d *StreamD) initOBSRestarter( func (d *StreamD) updateOBSRestarterConfig( ctx context.Context, ) error { + if d.obsRestarter == nil { + return nil + } return d.obsRestarter.updateConfig(ctx) }