mirror of
https://github.com/dirtydishes/dreamio.git
synced 2026-06-06 13:37:24 +00:00
fix local cache loopback port
This commit is contained in:
parent
e7a80df7cc
commit
151ae3ca5b
4 changed files with 77 additions and 15 deletions
|
|
@ -84,7 +84,7 @@ final class VLCNativePlaybackBackend: NSObject, NativePlaybackBackend {
|
|||
contentLength: contentLength,
|
||||
durationProvider: { [weak self] in self?.duration ?? 0 }
|
||||
)
|
||||
let localURL = try ProgressiveHTTPRangeCacheServer.shared.localURL(for: session)
|
||||
let localURL = try await ProgressiveHTTPRangeCacheServer.shared.localURL(for: session)
|
||||
await MainActor.run {
|
||||
self.rangeCacheSession = session
|
||||
session.prefetch(aroundByteOffset: 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue