react-native-webrtc / react-native-callkit

#deprecated iOS 10 new CallKit framework for React Native
ISC License
122 stars 67 forks source link

No audio when running `startCall` #57

Open rcidt opened 6 years ago

rcidt commented 6 years ago

When I initiate an outgoing call from within my app, I call the startCall method (to register the call on the ios call history log). When I do this, I do not get audio (on either end of the call).

When I capture a network packet trace, I don't see any RTP being sent out by the device. My guess is, startCall is suppressing the audio.

Call audio works perfectly when no calling startCall.

saikiranoptisol commented 5 years ago

@rcidt have you fixed this

glocore commented 5 years ago

You'll need to wait for the didActivateAudioSession event to fire before actually accepting the call, otherwise your library may fail to get control over the audio. (issue comment)