mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Reduce HlsMediaPeriod to package-private visibility
This type shouldn't be directly depended on from outside the HLS package. PiperOrigin-RevId: 577833188
This commit is contained in:
parent
db1ab1dcf3
commit
841cdf170b
2 changed files with 4 additions and 3 deletions
|
|
@ -37,6 +37,8 @@
|
|||
API.
|
||||
* RTMP Extension:
|
||||
* HLS Extension:
|
||||
* Reduce `HlsMediaPeriod` to package-private visibility. This type
|
||||
shouldn't be directly depended on from outside the HLS package.
|
||||
* DASH Extension:
|
||||
* Extend experimental support for parsing subtitles during extraction to
|
||||
work with standalone text files (previously it only worked with
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import androidx.media3.common.StreamKey;
|
|||
import androidx.media3.common.TrackGroup;
|
||||
import androidx.media3.common.util.Assertions;
|
||||
import androidx.media3.common.util.NullableType;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
import androidx.media3.common.util.Util;
|
||||
import androidx.media3.datasource.DataSource;
|
||||
import androidx.media3.datasource.TransferListener;
|
||||
|
|
@ -64,8 +63,8 @@ import java.util.Map;
|
|||
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
|
||||
/** A {@link MediaPeriod} that loads an HLS stream. */
|
||||
@UnstableApi
|
||||
public final class HlsMediaPeriod implements MediaPeriod, HlsPlaylistTracker.PlaylistEventListener {
|
||||
/* package */ final class HlsMediaPeriod
|
||||
implements MediaPeriod, HlsPlaylistTracker.PlaylistEventListener {
|
||||
|
||||
private final HlsExtractorFactory extractorFactory;
|
||||
private final HlsPlaylistTracker playlistTracker;
|
||||
|
|
|
|||
Loading…
Reference in a new issue