google / google/ExoPlayer

Audio stalling is not reported as "playback failure" in Tunneling mode

Open
#10,615 6 comments 0 reactions 1 assignee Claimed by @tonihei View on GitHub
bug
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### ExoPlayer Version

2.18.1

### Devices that reproduce the issue

AndroidTV devices with Broadcom SoC requiring tunneling mode. Issue is mostly not specific to Android version. We reproduced on Android 10.
Example:
- VIP6102W (CommScope built AndroidTV device with Broadcom 7271)
- UIW4054 (TechniColor built AndroidTV device with Broadcom 72180)

### Devices that do not reproduce the issue

N/A

### Reproducible in the demo app?

Yes

### Reproduction steps

To reproduce the issue, build the demo App with tunneling mode enabled. i.e. change PlayerActivity.java -

```
//trackSelectionParameters = new TrackSelectionParameters.Builder(/* context= */ this).build();
trackSelectionParameters = new DefaultTrackSelector.ParametersBuilder(/* context= */ this).setTunnelingEnabled(true).build();
```

We will send test stream over e-mail. Run the stream on demo app with tunneling mode enabled. Use the test stream to reproduce the issue. The playback freezes after 10 minutes.

### Expected result

In tunneling mode the test stream should fail the playback after 10 minutes.

### Actual result

Playback won't fail. Video freezes or plays at very slow rate.

### Media

Link to the test stream was sent to exoplayer dev email

### Bug Report

- [ ] You will email the zip file produced by `adb bugreport` to dev.exoplayer@gmail.com after filing this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.