ation fails,
 <a href="MediaPeriod.html#maybeThrowPrepareError()"><code>MediaPeriod.maybeThrowPrepareError()</code></a> will throw an <a href="https://developer.android.com/reference/java/io/IOException.html" title="class or interface in java.io" class="externalLink" target="_top"><code>IOException</code></a>.

 <p>If preparation succeeds and results in a source timeline change (e.g. the period duration
 becoming known), <a href="MediaSource.MediaSourceCaller.html#onSourceInfoRefreshed(com.google.android.ex