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

[idea] recording voice using webRTC #17

Open
itshaadi opened this issue Mar 22, 2018 · 0 comments
Open

[idea] recording voice using webRTC #17

itshaadi opened this issue Mar 22, 2018 · 0 comments
Assignees

Comments

@itshaadi
Copy link

itshaadi commented Mar 22, 2018

I believe this feature could be achieved using webRTC MediaRecorder API

I'm currently working on a prototype for myself using this method with flask as back-end to upload the audio file and google chrome on android as encoder. although the audio is encoded using Opus codec and it's only playable via browser and VLC but, you can use FFMPEG to convert it to WAV on the back-end (I think kalliope REST API is already doing that).

anyway here is a working example of this method and my rough prototype. notice that webRTC on android works only with HTTPS but you can fake that with pyopenssl

@LaMonF LaMonF self-assigned this Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants