 			sendScriptDataFLVTag( timeStamp * 1000, subtitleObject);
 		}
 		
-		private function parseAVCCCData(bytes:ByteArray, cursor:uint, length:uint):void
-		{
-			var dest:ByteArray = new ByteArray();
-			dest.endian = Endian.BIG_ENDIAN;
-			dest.writeInt(length);
-			if(length)
-				dest.writeBytes(bytes, cursor, length);
-			
-			var tmp:ByteArray = new ByteArray();
-			tmp.endian = Endian.BIG_ENDIAN;
-			tmp.writeBytes(bytes, cursor, length);
-			
-			if(false)
-			{
-				var tmpBuff:String = " Saw ";
-				for(var i:int=0; i<tmp.length; i++)
-					tmpBuff += tmp[i].toString(16);
-				trace(tmpBuff);				
-			}
-			
-			//TeletextParser.processTelxPacket(bytes, 1);
-			
-			var encoder:Base64Encoder = new Base64Encoder();
-			encoder.encodeBytes(dest);
-			var encodedDest:String = encoder.toString();
-			
-			var desiredIndex:uint;
-			for(desiredIndex = 0; 
-				desiredIndex < _pendingCaptionInfos.length && _pendingCaptionInfos[desiredIndex].pts <= _avcPTS; 
-				++desiredIndex) 
-			{
-			}
-			
-			var onCaptionInfo:* = ["onCaptionInfo", { type:"708", data:encodedDest }];
-			_pendingCaptionInfos.splice(desiredIndex, 0, { pts: _avcPTS, onCaptionInfo:onCaptionInfo });
-			sendPendingOnCaptionInfos(false);
-		}
-		
 		private function sendNextPendingOnCaptionInfo(flushing:Boolean):Boolean
 		{
 			if(_pendingCaptionInfos.length == 0)

			
			switch(naluType)
			{
				case 0x06: // SEI
					parseAVCSEINALU(bytes, cursor + 3, length - 3); // skip start code
					appendAVCNALU(bytes, cursor + 3, length - 3); // skip start code
					break;

				case 0x07: // SPS
					setAVCSPS(bytes, cursor, length);
					appendAVCNALU(bytes, cursor + 3, length - 3);

			}
			while(morePending);
		}

		public function onAVCNALU(pts:Number, dts:Number, bytes:ByteArray, cursor:uint, length:uint):void
		{
			// What's the type?
			var naluType:uint = bytes[cursor + 3] & 0x1f;
			switch(naluType)
			{
				case  6: // SEI
