razorRun / react-native-vlc-media-player

React native media player for video streaming and playing. Supports RTSP, RTMP and other protocols supported by VLC player
https://roshan.digital/
MIT License
354 stars 185 forks source link

Why are you disable audio session? #90

Open HorbachAndrii opened 3 years ago

HorbachAndrii commented 3 years ago

When I trying record a video while playback some video. I recorded the video without recorded the microphone.

I want to record a video while playing any kind of video in the foreground on IOS. (on android works fine) For example. I have 2 components on one screen: 1 - it's VLCPlayer 2 - it's Camera

What I do: start recording video(from component Camera). start play video(from component VLCPlayer). stop record video. In this case, the microphone will turn off when I start to play video(from component VLCPlayer).

Maybe need something to do on this line? https://github.com/razorRun/react-native-vlc-media-player/blob/4a83c5116ff86eec9208cb2423b4ee29b356d2f2/ios/RCTVLCPlayer/RCTVLCPlayer.m#L110

github-actions[bot] commented 3 hours ago

This issue is stale because it has been open for 60 days with no activity.