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

[assetserver] Add support for range requests if the fs.FS provides an io.Seeker #2091

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

stffabi
Copy link
Collaborator

@stffabi stffabi commented Nov 14, 2022

This allows streaming audio and videos with range requests if the platform webview supports it.

… io.Seeker

This allows streaming audio and videos with range requests if the
platform webview supports it.
@stffabi stffabi enabled auto-merge (squash) November 14, 2022 16:37
@leaanthony
Copy link
Member

Awesome addition! I'm wondering if there's an easy way to demonstrate this that I could make and put in the examples directory.

@stffabi stffabi merged commit 177d904 into wailsapp:master Nov 14, 2022
@stffabi stffabi deleted the feature/assetserver-range-requests branch November 15, 2022 07:45
@stffabi
Copy link
Collaborator Author

stffabi commented Nov 15, 2022

Thanks for merging 🙏

Yeah we could add an example, do we need to enable LFS on the repo to add the media files?

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 this pull request may close these issues.

2 participants