mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix EMSG typo in HlsChunkSource and ChunkSampleStream
PiperOrigin-RevId: 678870309
This commit is contained in:
parent
b8ec6b836b
commit
2520dd12f9
2 changed files with 2 additions and 2 deletions
|
|
@ -708,7 +708,7 @@ public class ChunkSampleStream<T extends ChunkSource>
|
||||||
int newQueueSize = C.LENGTH_UNSET;
|
int newQueueSize = C.LENGTH_UNSET;
|
||||||
for (int i = preferredQueueSize; i < currentQueueSize; i++) {
|
for (int i = preferredQueueSize; i < currentQueueSize; i++) {
|
||||||
if (!haveReadFromMediaChunk(i)) {
|
if (!haveReadFromMediaChunk(i)) {
|
||||||
// TODO: Sparse tracks (e.g. ESMG) may prevent discarding in almost all cases because it
|
// TODO: Sparse tracks (e.g. EMSG) may prevent discarding in almost all cases because it
|
||||||
// means that most chunks have been read from already. See [internal b/161126666].
|
// means that most chunks have been read from already. See [internal b/161126666].
|
||||||
newQueueSize = i;
|
newQueueSize = i;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ public final class HlsMediaSource extends BaseMediaSource
|
||||||
/** Type for ID3 metadata in HLS streams. */
|
/** Type for ID3 metadata in HLS streams. */
|
||||||
public static final int METADATA_TYPE_ID3 = 1;
|
public static final int METADATA_TYPE_ID3 = 1;
|
||||||
|
|
||||||
/** Type for ESMG metadata in HLS streams. */
|
/** Type for EMSG metadata in HLS streams. */
|
||||||
public static final int METADATA_TYPE_EMSG = 3;
|
public static final int METADATA_TYPE_EMSG = 3;
|
||||||
|
|
||||||
/** Factory for {@link HlsMediaSource}s. */
|
/** Factory for {@link HlsMediaSource}s. */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue