Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump github.com/bluenviron/gortsplib/v4 from 4.12.2 to 4.12.3 #4236

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ require (
github.com/alecthomas/kong v1.7.0
github.com/asticode/go-astits v1.13.0
github.com/bluenviron/gohlslib/v2 v2.1.3
github.com/bluenviron/gortsplib/v4 v4.12.2
github.com/bluenviron/mediacommon v1.13.4
github.com/bluenviron/gortsplib/v4 v4.12.3
github.com/bluenviron/mediacommon v1.14.0
github.com/datarhei/gosrt v0.8.0
github.com/fsnotify/fsnotify v1.8.0
github.com/gin-contrib/pprof v1.5.2
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ github.com/benburkert/openpgp v0.0.0-20160410205803-c2471f86866c h1:8XZeJrs4+ZYh
github.com/benburkert/openpgp v0.0.0-20160410205803-c2471f86866c/go.mod h1:x1vxHcL/9AVzuk5HOloOEPrtJY0MaalYr78afXZ+pWI=
github.com/bluenviron/gohlslib/v2 v2.1.3 h1:pysG7F76uCdjSVApwaOjKhiugGab/4t9wZOUKFn5s64=
github.com/bluenviron/gohlslib/v2 v2.1.3/go.mod h1:l99DjPGFms1XR3cxSZ+BIdFgMjJ5cFt/2Z/h+rrdIYQ=
github.com/bluenviron/gortsplib/v4 v4.12.2 h1:ZCiveyk8gumqyVGdliUmfaTJFOSt0JoqsPJ/Ly3gOXI=
github.com/bluenviron/gortsplib/v4 v4.12.2/go.mod h1:QCUYd9eiD44ISFGvgUSbGgJjgjpalYb0SlsHzJ/h0FQ=
github.com/bluenviron/mediacommon v1.13.4 h1:SkMeGHxKDBxBjxjRFVhQKUj11CApLq6QpTJGBR8PfDY=
github.com/bluenviron/mediacommon v1.13.4/go.mod h1:z5LP9Tm1ZNfQV5Co54PyOzaIhGMusDfRKmh42nQSnyo=
github.com/bluenviron/gortsplib/v4 v4.12.3 h1:3EzbyGb5+MIOJQYiWytRegFEP4EW5paiyTrscQj63WE=
github.com/bluenviron/gortsplib/v4 v4.12.3/go.mod h1:SkZPdaMNr+IvHt2PKRjUXxZN6FDutmSZn4eT0GmF0sk=
github.com/bluenviron/mediacommon v1.14.0 h1:lWCwOBKNKgqmspRpwpvvg3CidYm+XOc2+z/Jw7LM5dQ=
github.com/bluenviron/mediacommon v1.14.0/go.mod h1:z5LP9Tm1ZNfQV5Co54PyOzaIhGMusDfRKmh42nQSnyo=
github.com/bytedance/sonic v1.12.6 h1:/isNmCUF2x3Sh8RAp/4mh4ZGkcFAX/hLrzrK3AvpRzk=
github.com/bytedance/sonic v1.12.6/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk=
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
Expand Down
15 changes: 10 additions & 5 deletions internal/protocols/rtmp/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,8 @@
r.onVideoData[r.videoTrackID(track)] = func(msg message.Message) error {
switch msg := msg.(type) {
case *message.VideoExFramesX:
au, err := h264.AVCCUnmarshal(msg.Payload)
var au h264.AVCC
err := au.Unmarshal(msg.Payload)

Check warning on line 583 in internal/protocols/rtmp/reader.go

View check run for this annotation

Codecov / codecov/patch

internal/protocols/rtmp/reader.go#L582-L583

Added lines #L582 - L583 were not covered by tests
if err != nil {
if errors.Is(err, h264.ErrAVCCNoNALUs) {
return nil
Expand All @@ -590,7 +591,8 @@
cb(msg.DTS, au)

case *message.VideoExCodedFrames:
au, err := h264.AVCCUnmarshal(msg.Payload)
var au h264.AVCC
err := au.Unmarshal(msg.Payload)

Check warning on line 595 in internal/protocols/rtmp/reader.go

View check run for this annotation

Codecov / codecov/patch

internal/protocols/rtmp/reader.go#L594-L595

Added lines #L594 - L595 were not covered by tests
if err != nil {
if errors.Is(err, h264.ErrAVCCNoNALUs) {
return nil
Expand Down Expand Up @@ -625,7 +627,8 @@
cb(msg.DTS+msg.PTSDelta, au)

case message.VideoTypeAU:
au, err := h264.AVCCUnmarshal(msg.Payload)
var au h264.AVCC
err := au.Unmarshal(msg.Payload)

Check warning on line 631 in internal/protocols/rtmp/reader.go

View check run for this annotation

Codecov / codecov/patch

internal/protocols/rtmp/reader.go#L630-L631

Added lines #L630 - L631 were not covered by tests
if err != nil {
if errors.Is(err, h264.ErrAVCCNoNALUs) {
return nil
Expand All @@ -639,7 +642,8 @@
return nil

case *message.VideoExFramesX:
au, err := h264.AVCCUnmarshal(msg.Payload)
var au h264.AVCC
err := au.Unmarshal(msg.Payload)

Check warning on line 646 in internal/protocols/rtmp/reader.go

View check run for this annotation

Codecov / codecov/patch

internal/protocols/rtmp/reader.go#L645-L646

Added lines #L645 - L646 were not covered by tests
if err != nil {
if errors.Is(err, h264.ErrAVCCNoNALUs) {
return nil
Expand All @@ -650,7 +654,8 @@
cb(msg.DTS, au)

case *message.VideoExCodedFrames:
au, err := h264.AVCCUnmarshal(msg.Payload)
var au h264.AVCC
err := au.Unmarshal(msg.Payload)

Check warning on line 658 in internal/protocols/rtmp/reader.go

View check run for this annotation

Codecov / codecov/patch

internal/protocols/rtmp/reader.go#L657-L658

Added lines #L657 - L658 were not covered by tests
if err != nil {
if errors.Is(err, h264.ErrAVCCNoNALUs) {
return nil
Expand Down
2 changes: 1 addition & 1 deletion internal/protocols/rtmp/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@

// WriteH264 writes H264 data.
func (w *Writer) WriteH264(pts time.Duration, dts time.Duration, au [][]byte) error {
avcc, err := h264.AVCCMarshal(au)
avcc, err := h264.AVCC(au).Marshal()

Check warning on line 170 in internal/protocols/rtmp/writer.go

View check run for this annotation

Codecov / codecov/patch

internal/protocols/rtmp/writer.go#L170

Added line #L170 was not covered by tests
if err != nil {
return err
}
Expand Down
10 changes: 3 additions & 7 deletions internal/recorder/format_fmp4.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@
firstReceived = true
}

sampl, err := fmp4.NewPartSampleAV1(
randomAccess,
tunit.TU)
sampl, err := fmp4.NewPartSampleAV12(tunit.TU)

Check warning on line 186 in internal/recorder/format_fmp4.go

View check run for this annotation

Codecov / codecov/patch

internal/recorder/format_fmp4.go#L186

Added line #L186 was not covered by tests
if err != nil {
return err
}
Expand Down Expand Up @@ -346,9 +344,8 @@
return err
}

sampl, err := fmp4.NewPartSampleH26x(
sampl, err := fmp4.NewPartSampleH265(
int32(tunit.PTS-dts),
randomAccess,
tunit.AU)
if err != nil {
return err
Expand Down Expand Up @@ -421,9 +418,8 @@
return err
}

sampl, err := fmp4.NewPartSampleH26x(
sampl, err := fmp4.NewPartSampleH264(
int32(tunit.PTS-dts),
randomAccess,
tunit.AU)
if err != nil {
return err
Expand Down
Loading