Stay organized with collections
Save and categorize content based on your preferences.
class 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
AAC_ADTS
static val AAC_ADTS: Int
AAC ADTS file format
Value: 6
AMR_NB
static val AMR_NB: Int
AMR NB file format
Value: 3
AMR_WB
static val AMR_WB: Int
AMR WB file format
Value: 4
DEFAULT
static val DEFAULT: Int
Value: 0
MPEG_2_TS
static val MPEG_2_TS: Int
H.264/AAC data encapsulated in MPEG2/TS
Value: 8
MPEG_4
static val MPEG_4: Int
MPEG4 media file format
Value: 2
OGG
static val OGG: Int
Opus data in a Ogg container
Value: 11
RAW_AMR
static val RAW_AMR: Int
Deprecated: Deprecated in favor of MediaRecorder.OutputFormat.AMR_NB
AMR NB file format
Value: 3
THREE_GPP
static val THREE_GPP: Int
3GPP media file format
Value: 1
WEBM
static val WEBM: Int
VP8/VORBIS data in a WEBM container
Value: 9
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-04-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-04 UTC."]]