Don't reuse PTs for different media types

This commit is contained in:
Marvin W 2021-03-29 13:14:37 +02:00
parent fd21eafe26
commit 9520a81b81
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A

View file

@ -122,25 +122,25 @@ public class Dino.Plugins.Rtp.Module : JingleRtp.Module {
channels = 2,
clockrate = 48000,
name = "opus",
id = 96
id = 99
});
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
channels = 1,
clockrate = 32000,
name = "speex",
id = 97
id = 100
});
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
channels = 1,
clockrate = 16000,
name = "speex",
id = 98
id = 101
});
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
channels = 1,
clockrate = 8000,
name = "speex",
id = 99
id = 102
});
yield add_if_supported(list, media, new JingleRtp.PayloadType() {
channels = 1,