From 50d205274fe94702a9b9134bcef4290c71dbc288 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sun, 17 Jul 2022 12:02:17 +0200 Subject: [PATCH] fix tests --- internal/rtmp/conn_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/rtmp/conn_test.go b/internal/rtmp/conn_test.go index 56f499c7..f441c5a9 100644 --- a/internal/rtmp/conn_test.go +++ b/internal/rtmp/conn_test.go @@ -552,7 +552,7 @@ func TestReadTracks(t *testing.T) { }, videoTrack) require.Equal(t, &gortsplib.TrackAAC{ - PayloadType: 97, + PayloadType: 96, Config: &aac.MPEG4AudioConfig{ Type: 2, SampleRate: 44100, @@ -571,7 +571,7 @@ func TestReadTracks(t *testing.T) { }, videoTrack) require.Equal(t, &gortsplib.TrackAAC{ - PayloadType: 97, + PayloadType: 96, Config: &aac.MPEG4AudioConfig{ Type: 2, SampleRate: 44100, @@ -590,7 +590,7 @@ func TestReadTracks(t *testing.T) { }, videoTrack) require.Equal(t, &gortsplib.TrackAAC{ - PayloadType: 97, + PayloadType: 96, Config: &aac.MPEG4AudioConfig{ Type: 2, SampleRate: 44100, @@ -972,7 +972,7 @@ func TestWriteTracks(t *testing.T) { } audioTrack := &gortsplib.TrackAAC{ - PayloadType: 97, + PayloadType: 96, Config: &aac.MPEG4AudioConfig{ Type: 2, SampleRate: 44100,