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

Just stream without saving locally #778

Open
stefan-reich opened this issue Oct 7, 2021 · 0 comments
Open

Just stream without saving locally #778

stefan-reich opened this issue Oct 7, 2021 · 0 comments

Comments

@stefan-reich
Copy link

stefan-reich commented Oct 7, 2021

Hi, maybe I'm missing something but I don't see an option to suppress the local saving.

I am sending all audio data to the server through a WebSocket. I don't need a local recording.

Of course I can just discard the blob in the end... but my worry is that we run out of disk space or something? I want to keep the audio stream on for hours at a time (maybe even 24/7) and was hoping not having to restart the audio regularly or similar.

TIA and thanks for this great library

Edit: I have done my own test and had opus audio streamed to the server for 12 hours or so. It worked fine except when I called stopRecording the whole page crashed. 500 MB were streamed and it appears they arrived fine at the server.

Edit 2: Does it depend on the recorder being used? I'm currently using OpusMediaEncoder.

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

No branches or pull requests

1 participant