QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
396 stars 358 forks source link

Session is nil if hangup call imediately after creating new session causing issue on other peer. #1230

Closed shoaibhassan1 closed 2 years ago

shoaibhassan1 commented 4 years ago

If Peer 1 create a new call session and showing outgoing call screen with hangup option after sending VOIP notification on other peer,and hagup call immediately then peer 2 is showing callkit because app is killede and accept then call, but peer 2 is still not connected to chat and press accept button, then is stucked on call screen and no function from both of this will be call on peer 2 side on completion of connecting to chat.

func didReceiveNewSession(_ session: QBRTCSession, userInfo: [String : String]? = nil)
    {}
func session(_ session: QBRTCSession, hungUpByUser userID: NSNumber, userInfo: [String : String]? = nil) {
}

So peer 2 is stucked as none of delegate method gets called because session is ended at peer 1 side. Please help me in this case.

ghost commented 3 years ago

Hello, @shoaibhassan1

This is Nikolay from QuickBlox support.

Please let me know if the issue is still relevant.

Please check our documentation: https://docs.quickblox.com/docs/ios-video-calling

Also, please update the SDK to the latest version: https://github.com/QuickBlox/quickblox-ios-sdk/releases/tag/2.17.10

Additionally, please check our samples: https://docs.quickblox.com/docs/code-samples#video-calling-samples

ghost commented 2 years ago

@shoaibhassan1 The issue is being closed as outdated.

If it is still relevant, feel free to open a new issue.