-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
flow.js media streaming #295
Comments
I think I'm doing what you describe in a Vue app of mine. I capture from a webcam or other video device with the MediaRecorder API, then add the resulting file to Flow.js for upload. To capture the MediaRecorder chunks, I do:
Then, in the
|
I think there are two problems with this approach:
Could flow.js chunking overcome these two limitations to get a true streaming experience? |
#304 will fix this. |
I would like to upload MediaStream (as captured directly from a camera), without intermediary storage.
Flow.js documentation sheds light on
as the prefered way to select media to uploads.
It assumes input are binary blocks of known size (as probably desired to show completion percentage). (Discussed here) and underlying HTML5 File.
Is there any reason for flow.js to exclusively restrict itself to these instead of ReadableStreams?
Under the hood, it could be worked around using:
(
initFileFn
initiates the MediaRecorder)and looks similar to others attempts with opengpg.js.
Is it realistic or is there any hard blockers to anticipate from such an approach?
A
readFileFn
function reading from a stream may have toawait
for it, thusasync
. It does not seem support ATM.The text was updated successfully, but these errors were encountered: