Quantcast
Viewing all articles
Browse latest Browse all 17061

How i provide audio output(speaker) in ios(react-native)?

I'm developing a video chat application using the react-native-webrtc library. My application works fine. I have no problem with video transfer. However, the sound comes from the microphone by default. And it cannot be transmitted to the speaker. I cannot use the volume keys.

Expected behavior: sound comes from the loudspeaker by default. If headphones are plugged in, it is to switch to microphone mode. I need to switch audio input-audio output.

Although I struggled for a long time, I could not solve this problem.I tried this; https://www.npmjs.com/package/react-native-incall-manager?activeTab=readme

When I call this library, video streaming is not even provided.


Viewing all articles
Browse latest Browse all 17061

Trending Articles