Program: 86390
Project: 86390
Buggy source:
/** 
 * Adds a <tt>SourcePacketExtension</tt> as a child element of <tt>description</tt>. See XEP-0339.
 * @param description the <tt>RtpDescriptionPacketExtension</tt> to whicha child element will be added.
 * @param ssrc the SSRC for the <tt>SourcePacketExtension</tt> to use.
 */
public static void addSourceExtension(RtpDescriptionPacketExtension description,long ssrc){
  MediaType type=MediaType.parseString(description.getMedia());
  MediaService mediaService=LibJitsi.getMediaService();
  String msLabel=UUID.randomUUID().toString();
  SourcePacketExtension sourcePacketExtension=new SourcePacketExtension();
  SsrcPacketExtension ssrcPacketExtension=new SsrcPacketExtension();
  sourcePacketExtension.setSSRC(ssrc);
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",LibJitsi.getMediaService().getRtpCname()));
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",msLabel + "String_Node_Str" + type.toString()));
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",msLabel));
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",type.toString()));
  description.addChildExtension(sourcePacketExtension);
  ssrcPacketExtension.setSsrc("String_Node_Str" + ssrc);
  ssrcPacketExtension.setCname(mediaService.getRtpCname());
  ssrcPacketExtension.setMsid(msLabel + "String_Node_Str" + type.toString());
  ssrcPacketExtension.setMslabel(msLabel);
  ssrcPacketExtension.setLabel(type.toString());
  description.addChildExtension(ssrcPacketExtension);
}

Fixed version (ground truth):
/** 
 * Adds a <tt>SourcePacketExtension</tt> as a child element of <tt>description</tt>. See XEP-0339.
 * @param description the <tt>RtpDescriptionPacketExtension</tt> to whicha child element will be added.
 * @param ssrc the SSRC for the <tt>SourcePacketExtension</tt> to use.
 */
public static void addSourceExtension(RtpDescriptionPacketExtension description,long ssrc){
  MediaService mediaService=LibJitsi.getMediaService();
  String msLabel=UUID.randomUUID().toString();
  String label=UUID.randomUUID().toString();
  SourcePacketExtension sourcePacketExtension=new SourcePacketExtension();
  SsrcPacketExtension ssrcPacketExtension=new SsrcPacketExtension();
  sourcePacketExtension.setSSRC(ssrc);
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",mediaService.getRtpCname()));
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",msLabel + "String_Node_Str" + label));
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",msLabel));
  sourcePacketExtension.addChildExtension(new ParameterPacketExtension("String_Node_Str",label));
  description.addChildExtension(sourcePacketExtension);
  ssrcPacketExtension.setSsrc(String.valueOf(ssrc));
  ssrcPacketExtension.setCname(mediaService.getRtpCname());
  ssrcPacketExtension.setMsid(msLabel + "String_Node_Str" + label);
  ssrcPacketExtension.setMslabel(msLabel);
  ssrcPacketExtension.setLabel(label);
  description.addChildExtension(ssrcPacketExtension);
}