1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35: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":
return webrtc.RTPCodecCapability{
"audio/opus", 48000, 2,
"minptime=10;useinbandfec=1",
"minptime=10;useinbandfec=1;stereo=1;sprop-stereo=1",
nil,
}, nil
case "g722":