Better support for remote media (HLS/DASH) (#675)

## Description
Check if playback is for a remote source and, if so, play that remote
URL directly. Works for both ExoPlayer & MPV.

Also adds support for direct playback for DASH in ExoPlayer.

### Related issues
Closes #471
Closes #666
This commit is contained in:
Ray 2026-01-11 19:43:21 -05:00 committed by GitHub
parent 75a98ddaa5
commit b78f5fcc77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 25 additions and 8 deletions

View file

@ -7,6 +7,7 @@ object Codec {
const val `3GP` = "3gp"
const val ASF = "asf"
const val AVI = "avi"
const val DASH = "dash"
const val DVR_MS = "dvr-ms"
const val HLS = "hls"
const val M2V = "m2v"

View file

@ -156,6 +156,7 @@ fun createDeviceProfile(
container(
Codec.Container.ASF,
Codec.Container.DASH,
Codec.Container.HLS,
Codec.Container.M4V,
Codec.Container.MKV,