Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexedDB storage Issues #424

Closed
dsyscms opened this issue Sep 28, 2024 · 0 comments · Fixed by #425
Closed

IndexedDB storage Issues #424

dsyscms opened this issue Sep 28, 2024 · 0 comments · Fixed by #425

Comments

@dsyscms
Copy link

dsyscms commented Sep 28, 2024

Using IndexedDB storage, even if two nodes establish a connection, data cannot be downloaded via p2p.

The IndexedDB data has been cleared before the test,test url:
https://novage.com.ua/p2p-media-loader/demo.html?streamUrl=https%3A%2F%2Ftest-streams.mux.dev%2Fx36xhzz%2Furl_0%2F193039199_mp4_h264_aac_hd_7.m3u8&player=vidstack_indexeddb_hls

error code:
packages/p2p-media-loader-demo/src/custom-segment-storage-example/indexed-db-storage.ts
getStoredSegmentIds(streamId: string) {}

Correct code code:
getStoredSegmentIds(_swarmId: string, streamId: string) {}

@DimaDemchenko DimaDemchenko linked a pull request Sep 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant