 
       # Append NAL unit
       thisNalUnitLen = thisNalUnit.length
-      rtpBuffer = Buffer.concat [new Buffer(rtpData), thisNalUnit],
-        rtp.RTP_HEADER_LEN + 2 + thisNalUnitLen
 
       for clientID, client of stream.rtspClients
         if client.isWaitingForKeyFrame and isKeyFrame


      rtpData = rtpData.concat audioHeader

      # Append the access unit (rawDataBlock)
      rtpBuffer = Buffer.concat [new Buffer(rtpData), concatRawDataBlock],
        rtp.RTP_HEADER_LEN + audioHeader.length + accessUnitLength

      for clientID, client of stream.rtspClients
        if client.isPlaying
          rtp.replaceSSRCInRTP rtpBuffer, client.audioSSRC


        client.isWaitingForKeyFrame = false

      if client.isPlaying
        rtpBuffer = Buffer.concat [new Buffer(rtpHeader), nalUnit],
          rtp.RTP_HEADER_LEN + nalUnitLen
        rtp.replaceSSRCInRTP rtpBuffer, client.videoSSRC

        client.videoPacketCount++
