Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

React-native-webrtc with react-native-audio #375

Open
fredericodib opened this issue Aug 21, 2020 · 0 comments
Open

React-native-webrtc with react-native-audio #375

fredericodib opened this issue Aug 21, 2020 · 0 comments

Comments

@fredericodib
Copy link

Version

Tell us which versions you are using ( you can see the versions in your package.json ):

react-native-audio : 4.3.0
react-native : 0.62.2
react : 16.11.0
using react-native-sound ? Yes(but it not in this case)

Expected behaviour :

I need to record only my local stream when I am streaming audio, for that I tried to use react-native-webrtc(stream library) at the same time I used react-native-audio. The expected was I start to stream my local audio and in parallel recording the audio.

Actual behaviour

This works fine in IOS, but in android, the apps crash when I tried to record with react-native-audio at the same time as I. stream with react-native-webrtc.

Steps to reproduce

  1. with react-native-webrtc, use getUserMedia
  2. with react-native-audio, use AudioRecorder.prepareRecordingAtPath
  3. and finally AudioRecorder.startRecording();

then, the app crash in android

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant