Skip to content

Commit 39cbb94

Browse files
committed
Add audio constants, fix javadoc error
1 parent de24f3b commit 39cbb94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/main/java/net/ypresto/androidtranscoder/format/MediaFormatStrategyPresets.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
package net.ypresto.androidtranscoder.format;
1717

1818
public class MediaFormatStrategyPresets {
19+
public static final int AUDIO_BITRATE_AS_IS = -1;
20+
public static final int AUDIO_CHANNELS_AS_IS = -1;
21+
1922
/**
2023
* @deprecated Use {@link #createExportPreset960x540Strategy()}.
2124
*/
@@ -45,7 +48,7 @@ public static MediaFormatStrategy createAndroid720pStrategy(int bitrate) {
4548
/**
4649
* Preset based on Nexus 4 camera recording with 720p quality.
4750
* This preset is ensured to work on any Android >=4.3 devices by Android CTS (if codec is available).
48-
* <p/>
51+
* <br>
4952
* Note: audio transcoding is experimental feature.
5053
*
5154
* @param bitrate Preferred bitrate for video encoding.

0 commit comments

Comments
 (0)