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

How to play recorded audio on another device in realtime? #9

Open
niocncn opened this issue Jul 19, 2018 · 2 comments
Open

How to play recorded audio on another device in realtime? #9

niocncn opened this issue Jul 19, 2018 · 2 comments

Comments

@niocncn
Copy link

niocncn commented Jul 19, 2018

Hello, how can implement playing of recorded audio on another device, I want to send array through the socket connection.

@navrajkambo
Copy link

You would probably send the data in chunks, and then need some way of encoding the samples on the receiver device (wav or mp3 encorder) for playback using the expo library, or some other package. I haven't been able to find a way to encode the samples to a usable format for playback, but you might have better luck? Sending the information shouldn't be a problem, as long as you can establish a connection.

@navrajkambo
Copy link

Not sure if you're still having this problem, but i'm working on a package that will save audio data coming from an array. It's not quite finished, but i've made some headway with android, and hope to finish iOS some time this week. You can check out the project home page for more details...
https://github.com/navrajkambo/RNSaveAudio

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

2 participants