Skip to content

Commit 6d4f3d6

Browse files
committed
feat(DASH): remove unsatisfiable filter
Removes the filter, that removes LBRY streams from appearing the dash manifest, as it could never be satisfied, due to checking the `format` property, which is always set to `video/mp4`. The correct check would've been to check the quality, however, considering there haven't been any issues with the false check, that doesn't appear to be necessary. Ref: #7844 Ref: https://github.com/TeamPiped/Piped-Backend/blob/c5921f6b70762e78fed2cd0af8078c376b500228/src/main/java/me/kavin/piped/server/handlers/StreamHandlers.java#L216
1 parent 8b4f5ed commit 6d4f3d6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/src/main/java/com/github/libretube/helpers/DashHelper.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ object DashHelper {
4141
val adapSetInfos = ArrayList<AdapSetInfo>()
4242

4343
for (stream in streams.videoStreams) {
44-
// used to avoid including LBRY HLS inside the streams in the manifest
45-
if (stream.format.orEmpty().contains("HLS")) {
46-
continue
47-
}
48-
4944
// HDR is only supported by some new devices
5045
if (!supportsHdr && stream.quality.orEmpty().uppercase().contains("HDR")) {
5146
continue

0 commit comments

Comments
 (0)