@Override public void prepareSource(MediaSource.Listener listener) { sourceListener = listener; // TODO: Defer until the playlist has been loaded. listener.onSourceInfoRefreshed(new SinglePeriodTimeline(C.TIME_UNSET, false), null); }