Package rtpi.packets

Examples of rtpi.packets.RtcpiSubcomponentReportPacket


        rtcpiPacket = new RtcpiByePacket(data, currentStart);
        rtcpiPacket.parse();
        rtcpiPackets.add(rtcpiPacket);
        break;
    case RtcpiSubcomponentReportPacket.SUBREP:
        rtcpiPacket = new RtcpiSubcomponentReportPacket(data, currentStart);
        rtcpiPacket.parse();
        rtcpiPackets.add(rtcpiPacket);
        break;
    default:
        System.err.println("Rtpi: Unknown Rtcpi packet received -ignored! Type was "+RtcpiPacket.inspectPayloadType(data,currentStart));
View Full Code Here


        return;
    }
      } else {     
    initial=false;
    RtcpiSourceDescriptionPacket spacket;
    RtcpiSubcomponentReportPacket rpacket;
    try {
        //System.out.println("sending ADU");
        checkTimeouts(); // we do not need to perform the reverse reconsideration algorithm since
        //                  we are about to calculate a new transmission interval anyway.
        spacket=constructSdesPacket();
        spacket.flush();
        byte[] spacketData = spacket.getPacket();
        rpacket=constructSubRepPacket();
        //System.out.println("created subreppacket: " + rpacket);
        TransportPacket tpacket=null;
        int tpacketLength=0;
        if (rpacket==null) {
      tpacket= new TransportPacket(spacketData.length, spacketData);
      tpacketLength=spacketData.length;
        } else {
      rpacket.flush();
      byte[] rpacketData = rpacket.getPacket();
      byte [] packetData = new byte[spacketData.length+rpacketData.length];
      System.arraycopy(spacketData, 0, packetData, 0, spacketData.length);
      System.arraycopy(rpacketData, 0, packetData, spacketData.length, rpacketData.length);
      tpacket = new TransportPacket(packetData.length,packetData);
      tpacketLength=packetData.length;
View Full Code Here

  if (applicationLevelNames) {
      aln=1;
  }

  RtcpiSubcomponentReportPacket packet = new RtcpiSubcomponentReportPacket(localParticipant.getParticipantID(), aln, list);
  return packet;
    }
View Full Code Here

TOP

Related Classes of rtpi.packets.RtcpiSubcomponentReportPacket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.