diff --git a/app/src/main/java/com/github/libretube/services/OnlinePlayerService.kt b/app/src/main/java/com/github/libretube/services/OnlinePlayerService.kt index 3d4cbe98c..2052c1dfd 100644 --- a/app/src/main/java/com/github/libretube/services/OnlinePlayerService.kt +++ b/app/src/main/java/com/github/libretube/services/OnlinePlayerService.kt @@ -374,7 +374,7 @@ class OnlinePlayerService : LifecycleService() { val streams = streams ?: return val (uri, mimeType) = - if (!PlayerHelper.useHlsOverDash && streams.audioStreams.isNotEmpty() && !PlayerHelper.disablePipedProxy) { + if (!PlayerHelper.useHlsOverDash && streams.audioStreams.isNotEmpty()) { PlayerHelper.createDashSource(streams, this) to MimeTypes.APPLICATION_MPD } else { ProxyHelper.unwrapStreamUrl(streams.hls.orEmpty()) diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index 47a6cb577..8e522a52d 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -1308,7 +1308,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { lbryHlsUrl.toUri() to MimeTypes.APPLICATION_M3U8 } // DASH - !PlayerHelper.useHlsOverDash && streams.videoStreams.isNotEmpty() && !PlayerHelper.disablePipedProxy -> { + !PlayerHelper.useHlsOverDash && streams.videoStreams.isNotEmpty() -> { // only use the dash manifest generated by YT if either it's a livestream or no other source is available val dashUri = if (streams.livestream && streams.dash != null) {