Skip to content

Preload and offline caching doesn't seems to be working with this SwiftUI wrapper #63

Open
@SureshKumarD

Description

@SureshKumarD

Simple GSPlayer with UIKit supports preloading, offline caching.
Whereas this swiftUI wrapper doesn't seems to be working.

I have tried setting the preloadByteCount in sceneDelegate
VideoPlayer.preloadByteCount = 20 * 1024 * 1024
or
VideoPreloadManager.shared.preloadByteCount = 20 * 1024 * 1024

And I tried preloading the next url while current url is being played by setting at the right place
VideoPlayer.preload(urls: [url])
or
VideoPreloadManager.shared.set(waiting: [url])
note the url is next url.

However, the preloading is not happening as well as offline caching is not working.
@wxxsw @GraemeHarrison @conversun @phongngo511
Any help would be appreciated. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions