[skip ci] Fallback to iOS HLS for post dvr videos
This commit is contained in:
1 parent
4d1e46cbcc
commit
a1caa78e6e
3 files changed
+7
-2
No files matched your search
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Fixed
|
||||
|
||||
- Playback error when regular videos are returned with DRM protection
|
||||
- Fallback to iOS HLS for post dvr videos
|
||||
|
||||
## [0.43.3] - 2025-10-30
|
||||
|
||||
|
||||
@@ -81,8 +81,8 @@ namespace InnertubeService
|
||||
end if
|
||||
|
||||
playerResponseJson = playerResponse.Json()
|
||||
isLive = Innertube.IsLiveStream(playerResponseJson)
|
||||
if isLive and client = Innertube.ClientType.Tv
|
||||
isLiveOrPostLiveDvr = Innertube.IsLiveStream(playerResponseJson) or Innertube.IsPostLiveDvr(playerResponseJson)
|
||||
if isLiveOrPostLiveDvr and client = Innertube.ClientType.Tv
|
||||
LogDebug("Live video detected, falling back to iOS for HLS streams.")
|
||||
isLoggedIn = Innertube.ParseIsLoggedIn(playerResponseJson)
|
||||
playbackTrackingUrls = Innertube.ParsePlaybackTrackingUrls(playerResponseJson, isLoggedIn)
|
||||
|
||||
@@ -610,6 +610,10 @@ namespace Innertube
|
||||
return false
|
||||
end function
|
||||
|
||||
function IsPostLiveDvr(payload as object) as boolean
|
||||
return ValidBool(ObjectUtils.Dig(payload, ["videoDetails", "isPostLiveDvr"]))
|
||||
end function
|
||||
|
||||
function FormatsHaveLiveStreamingData(formats as object) as boolean
|
||||
if not IsArray(formats)
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user