mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-06 21:38:15 +00:00
add native stream seek cache proxy
This commit is contained in:
parent
4815c3a7f6
commit
bccae25937
8 changed files with 849 additions and 2 deletions
|
|
@ -27,6 +27,20 @@ struct NativePlaybackRequest {
|
|||
let headers: [String: String]
|
||||
let classification: StreamClassification
|
||||
let subtitleCandidates: [SubtitleCandidate]
|
||||
|
||||
func withPlaybackURL(_ playbackURL: URL) -> NativePlaybackRequest {
|
||||
NativePlaybackRequest(
|
||||
playbackURL: playbackURL,
|
||||
observedURL: observedURL,
|
||||
resolverURL: resolverURL,
|
||||
pageURL: pageURL,
|
||||
userAgent: userAgent,
|
||||
referer: referer,
|
||||
headers: headers,
|
||||
classification: classification,
|
||||
subtitleCandidates: subtitleCandidates
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
struct SubtitleCandidate: Equatable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue