1
Fork 0

Attempt to negotiate stereo Opus audio.

This commit is contained in:
Juliusz Chroboczek 2021-03-13 16:23:58 +01:00
parent 3bf0f9ef4c
commit b660bc404c
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ func codecFromName(name string) (webrtc.RTPCodecCapability, error) {
case "opus":
return webrtc.RTPCodecCapability{
"audio/opus", 48000, 2,
"minptime=10;useinbandfec=1",
"minptime=10;useinbandfec=1;stereo=1;sprop-stereo=1",
nil,
}, nil
case "g722":