mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Update the list of supported video mimetypes.
Add VP9 and APV codecs to the list of supported video mimetypes for Mp4Muxer and Fragmented Mp4Muxer. PiperOrigin-RevId: 728603222 (cherry picked from commit 1461e9e93a94e2cb27c096dea2c6c2eee934c3df)
This commit is contained in:
parent
41062d3910
commit
13e14b8e31
@ -151,7 +151,9 @@ public final class FragmentedMp4Muxer implements AutoCloseable {
|
|||||||
MimeTypes.VIDEO_H263,
|
MimeTypes.VIDEO_H263,
|
||||||
MimeTypes.VIDEO_H264,
|
MimeTypes.VIDEO_H264,
|
||||||
MimeTypes.VIDEO_H265,
|
MimeTypes.VIDEO_H265,
|
||||||
MimeTypes.VIDEO_MP4V);
|
MimeTypes.VIDEO_MP4V,
|
||||||
|
MimeTypes.VIDEO_VP9,
|
||||||
|
MimeTypes.VIDEO_APV);
|
||||||
|
|
||||||
/** A list of supported audio {@linkplain MimeTypes sample MIME types}. */
|
/** A list of supported audio {@linkplain MimeTypes sample MIME types}. */
|
||||||
public static final ImmutableList<String> SUPPORTED_AUDIO_SAMPLE_MIME_TYPES =
|
public static final ImmutableList<String> SUPPORTED_AUDIO_SAMPLE_MIME_TYPES =
|
||||||
|
@ -354,7 +354,9 @@ public final class Mp4Muxer implements AutoCloseable {
|
|||||||
MimeTypes.VIDEO_H263,
|
MimeTypes.VIDEO_H263,
|
||||||
MimeTypes.VIDEO_H264,
|
MimeTypes.VIDEO_H264,
|
||||||
MimeTypes.VIDEO_H265,
|
MimeTypes.VIDEO_H265,
|
||||||
MimeTypes.VIDEO_MP4V);
|
MimeTypes.VIDEO_MP4V,
|
||||||
|
MimeTypes.VIDEO_VP9,
|
||||||
|
MimeTypes.VIDEO_APV);
|
||||||
|
|
||||||
/** A list of supported audio {@linkplain MimeTypes sample MIME types}. */
|
/** A list of supported audio {@linkplain MimeTypes sample MIME types}. */
|
||||||
public static final ImmutableList<String> SUPPORTED_AUDIO_SAMPLE_MIME_TYPES =
|
public static final ImmutableList<String> SUPPORTED_AUDIO_SAMPLE_MIME_TYPES =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user