1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

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

View file

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