mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 12:15:52 +03:00
[GH-ISSUE #76] Youtube's videos not working due to exoplayer audio error #63
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @4knahs on GitHub (Apr 16, 2018).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/76
When attempting to play videos on youtube the exoplayer crashes because it fails to initialize AudioTrack. The youtube app does not crash but it doesnt play the video either. Similar happens when attempting to play from the browser.
Sound and youtube work fine when running from the emulator outside docker, so i assume its a docker issue. I tried adding /dev/snd and adding the audio group to no avail.
Setup
Operating System: Ubuntu 16.04
Docker Image: butomo1989/docker-android-x86-7.0
Docker Version: 18.03
Docker Command to start docker-android: docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S6" --name android-container butomo1989/docker-android-x86-7.0
(Also got pulseAudio installed, which might somewhat interfere)
Steps: Just start youtube and attempt to play a video
Actual Behavior
The exoplayer audio track fails to initialize:
When attempting to play the youtube video from chrome:
(Great project, thanks for opensourcing)