Skip to content

Conversation

@rex-iotum
Copy link
Collaborator

@rex-iotum rex-iotum commented Feb 25, 2025

instead of sending answer event called successfully to onAnswer, send the data from the VOIP push notification so we're able to action on data within it. Code is essentially copied 1:1 from didReceiveIncomingPushWithPayload#@finally but without the parsing into JSON string as we don't need to do that.

Temporarily comment out setupAudioSession in case it conflicts with iosrtc's audio setup.
Temporarily comment out calling the webhooks for receive/answer/decline.

@rex-iotum
Copy link
Collaborator Author

I will leave the webhook stuff commented out, as we can try to use the JS onReceiveCall, onAnswer and onDecline hooks instead.

@rex-iotum rex-iotum merged commit 47d60dc into master Feb 26, 2025
1 check passed
@rex-iotum rex-iotum deleted the send-voip-push-data-to-answer branch February 26, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants