1
0
Fork 0
forked from External/mediamtx

support routing multichannel Opus between RTSP, SRT, HLS, UDP and recording in MPEG-TS and fMP4 (#3355) (#3368)

This commit is contained in:
Alessandro Ros 2024-05-19 14:38:57 +02:00 committed by GitHub
parent d21506182b
commit e283725cde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 23 additions and 34 deletions

View file

@ -45,8 +45,8 @@ func TestSource(t *testing.T) {
tracks, err := pc.SetupOutgoingTracks(
nil,
&format.Opus{
PayloadTyp: 111,
IsStereo: true,
PayloadTyp: 111,
ChannelCount: 2,
},
)
require.NoError(t, err)