diff options
author | Marvin W <git@larma.de> | 2022-02-05 23:57:30 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2022-02-06 00:19:27 +0100 |
commit | 5ed8d28a27948ed949eb80b0da06d2c4ec9571ff (patch) | |
tree | 3606333c3faceb11400598b9b460221755f6283b /plugins/rtp | |
parent | bfd089516ad8a39a9d0d175d77c06f06be87c257 (diff) | |
download | dino-5ed8d28a27948ed949eb80b0da06d2c4ec9571ff.tar.gz dino-5ed8d28a27948ed949eb80b0da06d2c4ec9571ff.zip |
RTP: Use two channels for Opus
Fixes: #1189
Diffstat (limited to 'plugins/rtp')
-rw-r--r-- | plugins/rtp/src/module.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rtp/src/module.vala b/plugins/rtp/src/module.vala index c78fb274..ca1a6a5b 100644 --- a/plugins/rtp/src/module.vala +++ b/plugins/rtp/src/module.vala @@ -131,7 +131,7 @@ public class Dino.Plugins.Rtp.Module : JingleRtp.Module { public override async Gee.List<JingleRtp.PayloadType> get_supported_payloads(string media) { Gee.List<JingleRtp.PayloadType> list = new ArrayList<JingleRtp.PayloadType>(JingleRtp.PayloadType.equals_func); if (media == "audio") { - var opus = new JingleRtp.PayloadType() { channels = 1, clockrate = 48000, name = "opus", id = 111 }; + var opus = new JingleRtp.PayloadType() { channels = 1, clockrate = 48000, name = "opus", id = 111, channels = 2 }; opus.parameters["useinbandfec"] = "1"; var speex32 = new JingleRtp.PayloadType() { channels = 1, clockrate = 32000, name = "speex", id = 112 }; var speex16 = new JingleRtp.PayloadType() { channels = 1, clockrate = 16000, name = "speex", id = 113 }; |