Skip to content

Commit

Permalink
Attempt to negotiate stereo Opus audio and specify maxptime.
Browse files Browse the repository at this point in the history
  • Loading branch information
jech committed Mar 13, 2021
1 parent 3bf0f9e commit dd6d4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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;maxptime=10;stereo=1;sprop-stereo=1",
nil,
}, nil
case "g722":
Expand Down

0 comments on commit dd6d4c6

Please sign in to comment.