parent
bfd089516a
commit
5ed8d28a27
|
@ -131,7 +131,7 @@ public class Dino.Plugins.Rtp.Module : JingleRtp.Module {
|
||||||
public override async Gee.List<JingleRtp.PayloadType> get_supported_payloads(string media) {
|
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);
|
Gee.List<JingleRtp.PayloadType> list = new ArrayList<JingleRtp.PayloadType>(JingleRtp.PayloadType.equals_func);
|
||||||
if (media == "audio") {
|
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";
|
opus.parameters["useinbandfec"] = "1";
|
||||||
var speex32 = new JingleRtp.PayloadType() { channels = 1, clockrate = 32000, name = "speex", id = 112 };
|
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 };
|
var speex16 = new JingleRtp.PayloadType() { channels = 1, clockrate = 16000, name = "speex", id = 113 };
|
||||||
|
|
Loading…
Reference in a new issue