Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7d3aae3 authored by ztenghui's avatar ztenghui
Browse files

Update the documentiation for MediaMuxer::writeSampleData()

Change-Id: I7a5591c7b14728c1833e6401dcd8f0272c4ee56c
parent 73882cf4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -257,8 +257,10 @@ final public class MediaMuxer {
    }

    /**
     * Writes an encoded sample into the muxer. The application needs to make
     * sure that the samples are written into the right tracks.
     * Writes an encoded sample into the muxer.
     * <p>The application needs to make sure that the samples are written into
     * the right tracks. Also, it needs to make sure the samples for each track
     * are written in chronological order.</p>
     * @param byteBuf The encoded sample.
     * @param trackIndex The track index for this sample.
     * @param bufferInfo The buffer information related to this sample.