From e2f0b9a48fce71be7e4d561519f54f096dda14f0 Mon Sep 17 00:00:00 2001 From: krocard Date: Thu, 18 Nov 2021 18:04:55 +0000 Subject: [PATCH] Add a warning about device specific tunneling issues There has been many issue recently about tunneling that have no obvious solutions and we don't have the bandwidth to dive into the platform root cause. - https://github.com/google/ExoPlayer/issues/9661 - https://github.com/google/ExoPlayer/issues/9133 - https://github.com/google/ExoPlayer/issues/9317 - https://github.com/google/ExoPlayer/issues/9502 PiperOrigin-RevId: 410834262 --- .../exoplayer2/trackselection/DefaultTrackSelector.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java b/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java index d02940ff71..d82ac79add 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java @@ -567,6 +567,13 @@ public class DefaultTrackSelector extends MappingTrackSelector { * Sets whether to enable tunneling if possible. Tunneling will only be enabled if it's * supported by the audio and video renderers for the selected tracks. * + *

Tunneling is known to have many device specific issues and limitations. Manual testing is + * strongly recomended to check that the media plays correctly when this option is enabled. See + * [#9661](https://github.com/google/ExoPlayer/issues/9661), + * [#9133](https://github.com/google/ExoPlayer/issues/9133), + * [#9317](https://github.com/google/ExoPlayer/issues/9317), + * [#9502](https://github.com/google/ExoPlayer/issues/9502). + * * @param tunnelingEnabled Whether to enable tunneling if possible. * @return This builder. */