code: public static RtcpPacket buildBye(RtpStatistics statistics) {
  		// TODO Validate padding
  		boolean padding = false;
  		
  		// Build the initial report packet
  		RtcpReport report; 
  		if(statistics.hasSent()) {
  			report = buildSenderReport(statistics, padding);
  		} else {
  			report = buildReceiverReport(statistics, padding);
  		}
  		
  		// Build the SDES packet containing the CNAME
  		RtcpSdes sdes = buildSdes(statistics, padding);
  		
  		// Build the BYE
  		RtcpBye bye = new RtcpBye(padding);
  		bye.addSsrc(statistics.getSsrc());
  		
  		// Build the compound packet
  		return new RtcpPacket(report, sdes, bye);
  	}
docs: Builds a packet containing an RTCP BYE message.
  
  @param statistics
  The statistics of the RTP session
  @return The RTCP packet