                 
                 if(sampleRate)
                 {
-                    var flvts:uint = convertFLVTimestamp(timestamp + timeAccumulation);
+                    var flvts:int = convertFLVTimestamp(timestamp + timeAccumulation);
                     
                     sendAACConfigFLVTag(flvts, profile, sampleRateIndex, channelConfig);
                     //logger.debug("Sending AAC @ " + flvts + " ts=" + timestamp + " acc=" + timeAccumulation);

            naluProcessor.resetAVCCExtraction();
        }

        // State used to estimate video framerate.
        public var videoLastDTS:int = -1000000.0;

        /**
         * Convert and emit AVC NALU data.
         */

            return bytes;
        }
        
        private function sendScriptDataFLVTag(flvts:int, values:Array):void
        {
            var bytes:ByteArray = generateScriptData(values);
            sendFLVTag(flvts, FLVTags.TYPE_SCRIPTDATA, -1, -1, bytes, 0, bytes.length, 0);
