/**
  * Sets the destination of the stream.
  *
  * @param dest The destination address of the stream
  * @param rtpPort Destination port that will be used for RTP
  * @param rtcpPort Destination port that will be used for RTCP
  */
 public void setDestination(InetAddress dest, int rtpPort, int rtcpPort) {
   socket.setDestination(dest, rtpPort, rtcpPort);
 }
 /** Updates data for RTCP SR and sends the packet. */
 protected void send(int length) throws IOException {
   socket.commitBuffer(length);
 }
 public void setTimeToLive(int ttl) throws IOException {
   socket.setTimeToLive(ttl);
 }
 public int getSSRC() {
   return socket.getSSRC();
 }
 public void setSSRC(int ssrc) {
   socket.setSSRC(ssrc);
 }
 public SenderReport getRtcpSocket() {
   return socket.getRtcpSocket();
 }
 public AbstractPacketizer() {
   int ssrc = new Random().nextInt();
   ts = new Random().nextInt();
   socket = new RtpSocket();
   socket.setSSRC(ssrc);
 }