Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DASH live stream does not play correctly on Android 11 emulator #7903

Closed
Stonos opened this issue Sep 14, 2020 · 4 comments
Closed

DASH live stream does not play correctly on Android 11 emulator #7903

Stonos opened this issue Sep 14, 2020 · 4 comments
Assignees

Comments

@Stonos
Copy link

Stonos commented Sep 14, 2020

[REQUIRED] Issue description

When trying to watch a DASH live stream on an Android 11 emulator the video appears to be playing too fast. Eventually, it reaches too close to the live edge which causes constant buffering since it plays faster than realtime.

You can see an example here:
https://drive.google.com/file/d/1l6E6dTVbE2rOfQc9XN05YuGH4p2Vn3lc

Notice how fast the seconds change, and how choppy the playback is. This does not happen on VODs or an Android 10 emulator.

[REQUIRED] Reproduction steps

Play a live stream.

[REQUIRED] Link to test content

{
  "name": "Live stream test",
  "uri": "https://live.unified-streaming.com/scte35/scte35.isml/.mpd?dvr_window_length=3600",
  "extension": "mpd"
}

[REQUIRED] A full bug report captured from the device

bugreport-sdk_gphone_x86-RSR1.200819.001.A1-2020-09-14-16-43-19.zip

[REQUIRED] Version of ExoPlayer being used

2.12.0

[REQUIRED] Device(s) and version(s) of Android being used

Android Emulator v30.1.3-6821655
Nexus 5X with Android 11 Google Play Intel x86 Atom System Image

Host system specs:
Windows 10
Intel 5820K
NVIDIA GTX 970

@icbaker
Copy link
Collaborator

icbaker commented Sep 14, 2020

Thanks for the report, and the test content.

I can reproduce what you describe with a Nexus 5X emulator running Android 11. I also tried with a Pixel 4 emulator running Android 11 and see the same behaviour.

A Pixel 3 emulator running Android 10 doesn't behave the same (it seems to play at 'normal' speed and never catches up/rebuffers).

Assigning to @tonihei for further investigation.

@icbaker icbaker assigned tonihei and unassigned icbaker Sep 14, 2020
@tonihei
Copy link
Collaborator

tonihei commented Sep 15, 2020

I can reproduce the issue and it seems to be caused by a malfunctioning MediaCodec version (OMX.android.goldfish.h264.decoder) that is part of the emulator system image. I'll try to file an issue internally to get this fixed [internal ref: b/168593698].

@tonihei
Copy link
Collaborator

tonihei commented Sep 15, 2020

If you want, it seems you can workaround this problem for now by using one of the following options:

  • Remove the HardwareDecoder=on in system-images/android-30/google_apis_playstore/x86/advancedFeatures.ini
  • Launch emulator with -feature -HardwareDecoder

@tonihei
Copy link
Collaborator

tonihei commented Mar 9, 2021

The emulator issue above was fixed and should be available in some upcoming version of it.

@tonihei tonihei closed this as completed Mar 9, 2021
@google google locked and limited conversation to collaborators May 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants