             return true;
         }
 
-        private function sendAACConfigFLVTag(flvts:uint, profile:uint, sampleRateIndex:uint, channelConfig:uint):void
+        private function sendAACConfigFLVTag(flvts:int, profile:uint, sampleRateIndex:uint, channelConfig:uint):void
         {
             var isNewConfig:Boolean = true;
             var audioSpecificConfig:ByteArray = new ByteArray();

        private var keyFrame:Boolean = false;
        private var totalAppended:int = 0;

        public function clear(clearAACConfig:Boolean = false):void
        {
            if(clearAACConfig)
                _aacConfig = null;
            _aacRemainder = null;
            _aacTimestamp = 0;
        }

        protected var sendingDebugEvents:Boolean = false;

        private function sendFLVTag(flvts:int, type:uint, codec:int, mode:int, bytes:ByteArray, offset:uint, length:uint, duration:uint, buffer:Boolean = true):void
        {
            var tag:ByteArray = new ByteArray();
            

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