mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Document MergingMediaSource tag contract
Issue: androidx/media#883 #minor-release PiperOrigin-RevId: 613970048 (cherry picked from commit eb6f607717ce930036f445511414ef21fea5e174)
This commit is contained in:
parent
4db96acee6
commit
a72a23266b
@ -44,6 +44,11 @@ import java.util.Map;
|
||||
* Merges multiple {@link MediaSource}s.
|
||||
*
|
||||
* <p>The {@link Timeline}s of the sources being merged must have the same number of periods.
|
||||
*
|
||||
* <p>The values of {@link androidx.media3.common.TrackGroup#id} and {@link
|
||||
* androidx.media3.common.Format#id} are modified to start with {@code i:}, where {@code i} is the
|
||||
* 0-based index of the {@link MediaSource} passed to the constructor that created this {@link
|
||||
* androidx.media3.common.TrackGroup} or {@link androidx.media3.common.Format}.
|
||||
*/
|
||||
@UnstableApi
|
||||
public final class MergingMediaSource extends CompositeMediaSource<Integer> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user