Don't reuse PTs for different media types
This commit is contained in:
parent
fd21eafe26
commit
9520a81b81
|
@ -122,25 +122,25 @@ public class Dino.Plugins.Rtp.Module : JingleRtp.Module {
|
||||||
channels = 2,
|
channels = 2,
|
||||||
clockrate = 48000,
|
clockrate = 48000,
|
||||||
name = "opus",
|
name = "opus",
|
||||||
id = 96
|
id = 99
|
||||||
});
|
});
|
||||||
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
||||||
channels = 1,
|
channels = 1,
|
||||||
clockrate = 32000,
|
clockrate = 32000,
|
||||||
name = "speex",
|
name = "speex",
|
||||||
id = 97
|
id = 100
|
||||||
});
|
});
|
||||||
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
||||||
channels = 1,
|
channels = 1,
|
||||||
clockrate = 16000,
|
clockrate = 16000,
|
||||||
name = "speex",
|
name = "speex",
|
||||||
id = 98
|
id = 101
|
||||||
});
|
});
|
||||||
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
||||||
channels = 1,
|
channels = 1,
|
||||||
clockrate = 8000,
|
clockrate = 8000,
|
||||||
name = "speex",
|
name = "speex",
|
||||||
id = 99
|
id = 102
|
||||||
});
|
});
|
||||||
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
|
||||||
channels = 1,
|
channels = 1,
|
||||||
|
|
Loading…
Reference in a new issue