Skip to content

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

@fredericodib

Description

@fredericodib

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions