mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 03:25:52 +08:00
support G711 multiple channels and custom sample rates (#497)
This commit is contained in:
@@ -3384,8 +3384,13 @@ func TestClientPlayBackChannel(t *testing.T) {
|
||||
Body: mediasToSDP([]*description.Media{
|
||||
testH264Media,
|
||||
{
|
||||
Type: description.MediaTypeAudio,
|
||||
Formats: []format.Format{&format.G711{}},
|
||||
Type: description.MediaTypeAudio,
|
||||
Formats: []format.Format{&format.G711{
|
||||
PayloadTyp: 8,
|
||||
MULaw: false,
|
||||
SampleRate: 8000,
|
||||
ChannelCount: 1,
|
||||
}},
|
||||
IsBackChannel: true,
|
||||
},
|
||||
}),
|
||||
|
Reference in New Issue
Block a user