mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Add QoE field reporter for formats.
This reports video and audio format selections. See [] for spec details. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199627176
This commit is contained in:
parent
bb684b528e
commit
48193e2901
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ public final class MimeTypes {
|
|||
* @param mimeType The MIME type.
|
||||
* @return The {@link C}{@code .TRACK_TYPE_*} constant that corresponds to a specified MIME type.
|
||||
*/
|
||||
public static int getTrackType(String mimeType) {
|
||||
public static int getTrackType(@Nullable String mimeType) {
|
||||
if (TextUtils.isEmpty(mimeType)) {
|
||||
return C.TRACK_TYPE_UNKNOWN;
|
||||
} else if (isAudio(mimeType)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue