disable extmap_allow_mixed by default

This commit is contained in:
Daniel Gultsch 2021-03-21 19:40:52 +01:00
parent 7a115cb967
commit 8ac97b0027
2 changed files with 2 additions and 1 deletions

View file

@ -106,6 +106,7 @@ public final class Config {
public static final boolean USE_BOOKMARKS2 = false;
public static final boolean PROCESS_EXTMAP_ALLOW_MIXED = false;
public static final boolean DISABLE_PROXY_LOOKUP = false; //useful to debug ibb
public static final boolean USE_DIRECT_JINGLE_CANDIDATES = true;
public static final boolean DISABLE_HTTP_UPLOAD = false;

View file

@ -215,7 +215,7 @@ public class SessionDescription {
mediaAttributes.put("extmap", id + " " + uri);
}
if (description.hasChild("extmap-allow-mixed", Namespace.JINGLE_RTP_HEADER_EXTENSIONS)) {
if (Config.PROCESS_EXTMAP_ALLOW_MIXED && description.hasChild("extmap-allow-mixed", Namespace.JINGLE_RTP_HEADER_EXTENSIONS)) {
mediaAttributes.put("extmap-allow-mixed", "");
}