enable extmap-allow-mixed

This commit is contained in:
arnebv 2021-06-26 23:34:58 +02:00
parent de316ec7d2
commit c0f9d8f624
2 changed files with 1 additions and 2 deletions

View file

@ -140,7 +140,6 @@ 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

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