update dependencies (#1968)

This commit is contained in:
Alessandro Ros 2023-06-21 16:20:21 +02:00 committed by GitHub
parent 4d55824508
commit 5033d1e145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

4
go.mod
View File

@ -7,8 +7,8 @@ require (
github.com/abema/go-mp4 v0.10.1
github.com/alecthomas/kong v0.7.1
github.com/asticode/go-astits v1.11.0
github.com/bluenviron/gohlslib v0.2.5
github.com/bluenviron/gortsplib/v3 v3.7.0
github.com/bluenviron/gohlslib v0.2.6
github.com/bluenviron/gortsplib/v3 v3.8.0
github.com/bluenviron/mediacommon v0.5.1
github.com/fsnotify/fsnotify v1.6.0
github.com/gin-gonic/gin v1.9.1

8
go.sum
View File

@ -10,10 +10,10 @@ github.com/asticode/go-astikit v0.30.0 h1:DkBkRQRIxYcknlaU7W7ksNfn4gMFsB0tqMJflx
github.com/asticode/go-astikit v0.30.0/go.mod h1:h4ly7idim1tNhaVkdVBeXQZEE3L0xblP7fCWbgwipF0=
github.com/asticode/go-astits v1.11.0 h1:GTHUXht0ZXAJXsVbsLIcyfHr1Bchi4QQwMARw2ZWAng=
github.com/asticode/go-astits v1.11.0/go.mod h1:QSHmknZ51pf6KJdHKZHJTLlMegIrhega3LPWz3ND/iI=
github.com/bluenviron/gohlslib v0.2.5 h1:M+uWOLjOa7hirUITLndf9bYarA8F7HR1m7+5dG/3WVI=
github.com/bluenviron/gohlslib v0.2.5/go.mod h1:IvhV5h+92FljHy/xHlcOZm09rDeqg1RR88MjCTBx67Y=
github.com/bluenviron/gortsplib/v3 v3.7.0 h1:gpepAA0Vf17+V5cw4epPySzc6O1hHazidXisGHtHCLY=
github.com/bluenviron/gortsplib/v3 v3.7.0/go.mod h1:d6F2mJqC2qXrav6Xzg7kdnqYFUYobrhXjERQlWH+eRs=
github.com/bluenviron/gohlslib v0.2.6 h1:7JPfG5v6773xlrTC8qdvgCL7TCi2noLteo/PA1W1VVw=
github.com/bluenviron/gohlslib v0.2.6/go.mod h1:x5XU60uvx91bQkRI8lrKNEltUtudR0WzaONBOhH+nzQ=
github.com/bluenviron/gortsplib/v3 v3.8.0 h1:oQI/CN/3iwbrOu+E3iERQvwn3Ks6LKPwNEUYFlmVUzA=
github.com/bluenviron/gortsplib/v3 v3.8.0/go.mod h1:CoUNAUuXl1SrxT1lxFE5HptAj2g8auR1rhSjTapM06k=
github.com/bluenviron/mediacommon v0.5.1 h1:eNLc3SQp1pOe5lwsFgVUzZwf/NPkQbWGnGpeS8EQMeU=
github.com/bluenviron/mediacommon v0.5.1/go.mod h1:t0dqPsWUTchyvib0MhixIwXEgvDX4V9G+I0GzWLQRb8=
github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=

View File

@ -280,7 +280,7 @@ func TestAPIPathsList(t *testing.T) {
Type: "rtspSession",
},
SourceReady: true,
Tracks: []string{"H264", "MPEG4-audio-gen"},
Tracks: []string{"H264", "MPEG-4 Audio"},
BytesReceived: 16,
}},
}, out)
@ -343,7 +343,7 @@ func TestAPIPathsList(t *testing.T) {
Type: "rtspsSession",
},
SourceReady: true,
Tracks: []string{"H264", "MPEG4-audio-gen"},
Tracks: []string{"H264", "MPEG-4 Audio"},
}},
}, out)
})

View File

@ -22,7 +22,7 @@ type source interface {
func mediaDescription(media *media.Media) string {
ret := make([]string, len(media.Formats))
for i, forma := range media.Formats {
ret[i] = forma.String()
ret[i] = forma.Codec()
}
return strings.Join(ret, "/")
}