You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Have the same issue, does not seem to work the preload. Although the cache is increasing when i try to check the cache size using VideoPlayer.calculateCachedSize(), but i do not see any difference when i try to play the same video.
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.
The text was updated successfully, but these errors were encountered: