From e840e53ac2695ca5c6d7973cc574c2663675a0ad Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sun, 11 Jul 2021 20:18:44 +0200 Subject: [PATCH] Switch to our own samplebuilder. Pion's samplebuilder has been broken for over a month now, switch to our own. --- diskwriter/diskwriter.go | 3 ++- go.mod | 1 + go.sum | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/diskwriter/diskwriter.go b/diskwriter/diskwriter.go index 9068a20..e9a0ab7 100644 --- a/diskwriter/diskwriter.go +++ b/diskwriter/diskwriter.go @@ -16,7 +16,8 @@ import ( "github.com/at-wat/ebml-go/webm" "github.com/pion/rtp" "github.com/pion/rtp/codecs" - "github.com/pion/webrtc/v3/pkg/media/samplebuilder" + + "github.com/jech/samplebuilder" "github.com/jech/galene/conn" "github.com/jech/galene/group" diff --git a/go.mod b/go.mod index 52dfbaa..7c1c503 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,7 @@ go 1.13 require ( github.com/at-wat/ebml-go v0.16.0 github.com/gorilla/websocket v1.4.2 + github.com/jech/samplebuilder v0.0.0-20210711181036-7fcbcf0988c5 github.com/pion/ice/v2 v2.1.8 github.com/pion/rtcp v1.2.6 github.com/pion/rtp v1.6.6-0.20210512022946-4e87540a7fe6 diff --git a/go.sum b/go.sum index d3808e9..d3b0048 100644 --- a/go.sum +++ b/go.sum @@ -22,6 +22,8 @@ github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/jech/samplebuilder v0.0.0-20210711181036-7fcbcf0988c5 h1:ek+KpVz14p6ytAtzMSktZNgtq2Vq6GkIcWiJDv3eP3s= +github.com/jech/samplebuilder v0.0.0-20210711181036-7fcbcf0988c5/go.mod h1:PXhvo7PKy8CVqirCgoNG2BIjwow2Zd6LwCTScabl584= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=