Crash inside MobileRTC if subscribed to MobileRTCRenderer during session

Description
MobileRTC crashes if the user terminates app, if during session there was a subscription to MobileRTCRenderer.

Which version?
5.4.54520.1229

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Create meeting
  2. Invite attendee
  3. Subscribe to attendee’s video raw data using -[MobileRTCRenderer subscribe:videoType:]
  4. Unsubscribe using -[MobileRTCRenderer unSubscribe]
  5. End meeting
  6. Terminate the application

Screenshots

Device (please complete the following information):

  • Device: iPad Air 2, iPad Pro 1gen, iPad Pro 2018
  • OS: iOS 14

Hey @s.nikitin,

Thank you for using the dev forum!

Are you seeing this on the latest version of the SDK as well?

Thanks!
Michael

Hello @Michael_Condon ,
I have updated the SDK version to 5.4.54802.0124 (the latest one available at the moment).
The issue still reproduces according to steps.


Best regards,
Sergey Nikitin

Hey @s.nikitin,

Thank you for checking that.
This is only happening on iPad correct?
Do you have the MobileRTC app delegate calls in your AppDelegate? Like appWillTerminate defined in MobileRTC?

Thanks!
Michael

Hello @Michael_Condon ,
Thank you for the advise. After implementing the life cycle calls in the App Delegate the crash disappeared.
Best regards,
Sergey Nikitin

Hey @s.nikitin,

Awesome! I am super happy to hear. Please let us know if you have any other questions.

Thanks!
Michael