Skip to content

Commit

Permalink
Document MergingMediaSource tag contract
Browse files Browse the repository at this point in the history
Issue: #883

#minor-release

PiperOrigin-RevId: 613970048
(cherry picked from commit eb6f607)
  • Loading branch information
tonihei authored and SheenaChhabra committed Mar 8, 2024
1 parent 4db96ac commit a72a232
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
* 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> {
Expand Down

0 comments on commit a72a232

Please sign in to comment.