Skip to content

How to stream video in range ? #301

Answered by eduard-vasinskyi
anboo44 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @anboo44

ActiveJ v5.x HttpResponse had built-in support for downloading files using range requests.. In v6.0 we cleaned up API in ActiveJ HTTP. As a result, we moved the method directly to FileSystemServlet as it was too specific for ActiveJ HTTP.

You can copy the code or parts of it that meet your requirements and use that to create your own method that serves files by range.

We have actually used ActiveJ HTTP in the past to develop a web video player (with range requests support).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@anboo44
Comment options

Answer selected by anboo44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants