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:
parent
d21506182b
commit
e283725cde
11 changed files with 23 additions and 34 deletions
|
|
@ -180,8 +180,8 @@ func (s *Source) Run(params defs.StaticSourceRunParams) error {
|
|||
medi = &description.Media{
|
||||
Type: description.MediaTypeAudio,
|
||||
Formats: []format.Format{&format.Opus{
|
||||
PayloadTyp: 96,
|
||||
IsStereo: (tcodec.ChannelCount >= 2),
|
||||
PayloadTyp: 96,
|
||||
ChannelCount: tcodec.ChannelCount,
|
||||
}},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue