This commit is contained in:
Alessandro Ros
2024-05-19 14:37:02 +02:00
committed by GitHub
parent ef60c8c755
commit fd4a9137cc
7 changed files with 161 additions and 38 deletions

View File

@@ -310,8 +310,9 @@ var casesSession = []struct {
IsBackChannel: true,
Formats: []format.Format{
&format.Opus{
PayloadTyp: 111,
IsStereo: false,
PayloadTyp: 111,
IsStereo: false,
ChannelCount: 1,
},
&format.Generic{
PayloadTyp: 103,
@@ -820,8 +821,9 @@ func TestSessionFindFormat(t *testing.T) {
Type: MediaTypeAudio,
Formats: []format.Format{
&format.Opus{
PayloadTyp: 111,
IsStereo: true,
PayloadTyp: 111,
IsStereo: true,
ChannelCount: 2,
},
},
},