droid.exoplayer2.upstream">Allocator</a>&nbsp;allocator,
                          long&nbsp;preparePositionUs)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Creates a new masking media period. The media source must be set via <a href="#setMediaSource(com.google.android.exoplayer2.source.MediaSource)"><code>setMediaSource(MediaSource)</code></a> before preparation can start.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><c