mirror of
https://github.com/androidx/media.git
synced 2025-05-14 02:59:52 +08:00
Add TYPE_M4A, which is equivalent to TYPE_MP4.
This commit is contained in:
parent
9dcb17f21a
commit
d2ba5cfd97
@ -50,6 +50,7 @@ public class DemoUtil {
|
||||
public static final int TYPE_TS = 6;
|
||||
public static final int TYPE_AAC = 7;
|
||||
public static final int TYPE_OTHER = 8;
|
||||
public static final int TYPE_M4A = 9;
|
||||
|
||||
private static final CookieManager defaultCookieManager;
|
||||
|
||||
|
@ -231,6 +231,7 @@ public class PlayerActivity extends Activity implements SurfaceHolder.Callback,
|
||||
new WidevineTestMediaDrmCallback(contentId), debugTextView, audioCapabilities);
|
||||
case DemoUtil.TYPE_HLS:
|
||||
return new HlsRendererBuilder(this, userAgent, contentUri.toString(), debugTextView);
|
||||
case DemoUtil.TYPE_M4A: // There are no file format differences between M4A and MP4.
|
||||
case DemoUtil.TYPE_MP4:
|
||||
return new ExtractorRendererBuilder(userAgent, contentUri, debugTextView,
|
||||
new Mp4Extractor());
|
||||
|
Loading…
x
Reference in New Issue
Block a user