Closed whenmoon closed 4 years ago
Hi @whenmoon do you accept the call in onCallListener ?
Actually that's a good point - this particular code is for a new user journey / call answer flow that is triggered by a notification button press.
So the call has to be accepted for the remote stream listener to be triggered?
@whenmoon correct the real streams exchange happens after the remote party accepted the call
Ok got it - thanks that must be the problem. I'll close the issue then cheers.
hi @whenmoon i am also having the similar problem. Can you please share how you have solved it?
I have the following code where the
onCallListener
callback if fired, but theonRemoteStreamListener
is not:I am running this code when a HeadlessJS task is triggered in the background on Android. The session and extension are received by the
onCallListener
but for some reason a remote stream is never received. I have tried moving the listeners to after the SDK is connected to chat, but it makes no difference. What could be the problem?I'm using RN v 0.61.4 and "react-native-connectycube": "^3.0.1",
Thanks.