public Vector<RtcpSdesPacket> makereports(){
  Vector<RtcpSdesPacket> packets=new Vector<RtcpSdesPacket>();
  RtcpSdesPacket rtcpsdespacket=new RtcpSdesPacket(new RtcpSdesBlock[1]);
  rtcpsdespacket.sdes[0]=new RtcpSdesBlock();
  rtcpsdespacket.sdes[0].ssrc=rtcpSession.SSRC;
  Vector<RtcpSdesItem> vector=new Vector<RtcpSdesItem>();
  vector.addElement(new RtcpSdesItem(1,RtpSource.CNAME));
  rtcpsdespacket.sdes[0].items=new RtcpSdesItem[vector.size()];
  vector.copyInto(rtcpsdespacket.sdes[0].items);
  packets.addElement(rtcpsdespacket);
  return packets;
}

public Vector < RtcpSdesPacket > makereports ( ) { Vector < RtcpSdesPacket > packets = new Vector < RtcpSdesPacket > ( ) ; RtcpSdesPacket rtcpsdespacket = new RtcpSdesPacket ( new RtcpSdesBlock [ 1 ] ) ; rtcpsdespacket . sdes [ 0 ] = new RtcpSdesBlock ( ) ; rtcpsdespacket . sdes [ 0 ] . ssrc = rtcpSession . SSRC ; Vector < RtcpSdesItem > vector = new Vector < RtcpSdesItem > ( ) ; vector . addElement ( new RtcpSdesItem ( 1 , RtpSource . CNAME ) ) ; rtcpsdespacket . sdes [ 0 ] . items = new RtcpSdesItem [ vector . size ( ) ] ; vector . copyInto ( rtcpsdespacket . sdes [ 0 ] . items ) ; packets . addElement ( rtcpsdespacket ) ; return packets ; }
generate a rtcp report
