video-quickstart-android: The app is crashing running latest 7.0.3

Description

After upgrading to 7.0.3 we started inconsistently seeing a crash when trying to unpublishTrack() on room’s localParticipant. We couldn’t reproduce the crash on 6.4.0.

The SID is RM1c42b82db0dd966521b4a314b2d696dc

Steps to Reproduce

  1. Create a Video call and publish LocalVideoTrack using publishTrack()
  2. Unpublish LocalVideoTrack using unpublishTrack()

sometimes you have to repeat the steps to get it, sometimes it happens right away.

Code

localViewVideoTrack?.let {
    room?.localParticipant?.unpublishTrack(it)// I think the crash happens here
    it.release()
    localViewVideoTrack = null
}

Logs

There weren’t many logs related to this, the only thing I saw that could be related is

A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 6554 (MediaFactoryImp), pid 6073 (doximitydroid.x)

Versions

the app is targeting Android API 31 and running on Android 12 using the latest Twilio video API 7.0.3.

Video Android SDK

7.0.3

Android API

API 31

Android Device

Samsung S20 Android 12

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 23 (10 by maintainers)

Most upvoted comments

@mykola-tarchanyn Thank you, I am able to repo the bug, we will investigate on our end, just as you experienced, we are not seeing much info from the log…

@afalls-twilio Any update on the above issue. I even tried by updating the twillo sdk version to 7.0.6 and the crash is still happening.

Tested on Samsung Galaxy S20(Android 12).