fix local cache loopback port

This commit is contained in:
dirtydishes 2026-05-25 18:34:08 -04:00
parent e7a80df7cc
commit 151ae3ca5b
4 changed files with 77 additions and 15 deletions

View file

@ -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)