         if let rtpPacket = RTPPacket.fromData(packetData) {
             // put packet in data list
             uniqueQueue.sync {
+                qosLog.debug("======Receive===========sequenceNumber=======\(rtpPacket.header.sequenceNumber)")
                 rtpControlDataList[rtpPacket.header.sequenceNumber] = RTPControlData(rtpPacket: rtpPacket, receivedNS: receivedNS)
             }
             // !! TODO: EXC_BAD_ACCESS at this line?

            portIn: testObject.portIn
        )

        udpStreamSender = UDPStreamSender(settings: settings)
        udpStreamSender.delegate = self


        // generate random bytes

        
        qosLog.debug("======Send===========sequenceNumber=======\(packet.header.sequenceNumber)")
//        let payloadBytes = UnsafeMutableRawPointer.allocate(byteCount: payloadSize, alignment: 0)
//        let customDealocator = Data.Deallocator.custom { (ptr, length) in
//            ptr.deallocate()
