 				return new HTTPStreamRequest(HTTPStreamRequestKind.LIVE_STALL, null, segments[segments.length-1].duration / 2);
 			}
 			
+			trace("Ending stream playback");
 			return new HTTPStreamRequest(HTTPStreamRequestKind.DONE);
 		}
 		

			if (!resource.manifest.streamEnds)
			{
				trace("getFileForTime - stalling.");
				return new HTTPStreamRequest (HTTPStreamRequestKind.LIVE_STALL);
			}
			
			trace("getFileForTime - end of stream.s");


				// TODO - ensure a reload is pending?

				return new HTTPStreamRequest(HTTPStreamRequestKind.LIVE_STALL, null, 1);
			}

			HLSHTTPNetStream.recoveryStateNum = URLErrorRecoveryStates.NEXT_SEG_ATTEMPTED;
