Make sure that the COLIBRI namespace is used for 'payload-type' children of

COLIBRI 'channel' elements.

This is to fix an issue where in certain cases a Jingle namespace was used, and
the resulting 'conference' IQs would confuse the videobridge.
cusax-fix
Boris Grozev 13 years ago
parent f0ebcb0874
commit 77efd83463

@ -339,6 +339,11 @@ public boolean addPayloadType(PayloadTypePacketExtension payloadType)
if (payloadType == null)
throw new NullPointerException("payloadType");
// Make sure that the COLIBRI namespace is used.
payloadType.setNamespace(null);
for (ParameterPacketExtension p : payloadType.getParameters())
p.setNamespace(null);
return
payloadTypes.contains(payloadType)
? false

Loading…
Cancel
Save