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

Commit 32346a89 authored by Dave Sparks's avatar Dave Sparks Committed by The Android Open Source Project
Browse files

AI 146671: am: CL 146668 am: CL 146667 Add advice in MediaRecorder Java docs...

AI 146671: am: CL 146668 am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4 container format
  Original author: davidsparks
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146671
parent 40a9d160
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -219,6 +219,10 @@ public class MediaRecorder
     * Sets the format of the output file produced during recording. Call this
     * after setAudioSource()/setVideoSource() but before prepare().
     *
     * <p>It is recommended to always use 3GP format when using the H.263
     * video encoder and AMR audio encoder. Using an MPEG-4 container format
     * may confuse some desktop players.</p>
     *
     * @param output_format the output format to use. The output format
     * needs to be specified before setting recording-parameters or encoders.
     * @throws IllegalStateException if it is called after prepare() or before