Fix muxer interface java doc

PiperOrigin-RevId: 753203794
This commit is contained in:
sheenachhabra 2025-04-30 09:43:01 -07:00 committed by Copybara-Service
parent 8dc8003afc
commit bfb8c5c237

View File

@ -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.