mirror of
https://github.com/androidx/media.git
synced 2025-05-13 02:29:52 +08:00
Fix muxer interface java doc
PiperOrigin-RevId: 753203794
This commit is contained in:
parent
8dc8003afc
commit
bfb8c5c237
@ -24,7 +24,7 @@ import androidx.media3.common.util.UnstableApi;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
/** The muxer for producing media container files. */
|
||||
/** A muxer for producing media container files. */
|
||||
@UnstableApi
|
||||
public interface Muxer {
|
||||
/** Factory for muxers. */
|
||||
@ -47,6 +47,8 @@ public interface Muxer {
|
||||
/**
|
||||
* Adds a track of the given media format.
|
||||
*
|
||||
* <p>All tracks must be added before any samples are written to any track.
|
||||
*
|
||||
* @param format The {@link Format} of the track.
|
||||
* @return A track id for this track, which should be passed to {@link #writeSampleData}.
|
||||
* @throws MuxerException If the muxer encounters a problem while adding the track.
|
||||
|
Loading…
x
Reference in New Issue
Block a user