Added in API level 1
OutputFormat
class OutputFormat
| kotlin.Any | |
| ↳ | android.media.MediaRecorder.OutputFormat |
Defines the output format. These constants are used with MediaRecorder.setOutputFormat(int).
Summary
| Constants | |
|---|---|
| static Int |
AAC ADTS file format |
| static Int |
AMR NB file format |
| static Int |
AMR WB file format |
| static Int | |
| static Int |
H. |
| static Int |
MPEG4 media file format |
| static Int |
Opus data in a Ogg container |
| static Int |
AMR NB file format |
| static Int |
3GPP media file format |
| static Int |
VP8/VORBIS data in a WEBM container |
Constants
MPEG_2_TS
Added in API level 26
static val MPEG_2_TS: Int
H.264/AAC data encapsulated in MPEG2/TS
Value: 8RAW_AMR
static valRAW_AMR: Int
Deprecated: Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB
AMR NB file format
Value: 3