opentok / opentok-android-sdk-samples

Sample applications illustrating best practices using OpenTok Android SDK.
https://tokbox.com/developer/sdks/android/
MIT License
210 stars 170 forks source link

Publisher video freeze on app resume #481

Closed dev-android1 closed 3 months ago

dev-android1 commented 9 months ago

we are having 2 publisher in Android. One is publishing audio all time throughout app lifecycle. Another one publish video & audio when required on button click. when we start publishing from 2nd publisher then we turn off audiopublisher1 and start avpublisher2. now we put app in background and resume app then publisher2 doesn't resume video.

To Reproduce Take 2 publisher - publisherAudioOnly & publisherAudioVideo . publish Audio via publisher1 and after sometime pause publisher1 and start publisher2 with audio video. now put app in background and resume app. video is freezed.

Expected behavior video should not be freezed

Screenshots If applicable, add screenshots to help explain your problem.

Device (please compete the following information):

Additional context Add any other context about the problem here.

v-kpheng commented 9 months ago

@dev-android1 , which version of the Android SDK were you able to reproduce on? Can you reproduce on 2.26.1? Also, which devices can you reproduce with?