twilio / twilio-video-app-android

A collaboration application built with the Twilio Video Android SDK
Apache License 2.0
242 stars 98 forks source link

Want to remove the state once I move back to previous screen. #263

Open subhalaxmipharos opened 1 year ago

subhalaxmipharos commented 1 year ago

Hi There,

Please help...Need your help urgently.

We have two screens in Android App. The button click of first screen should move to RoomActivity.kt screen of twilio video collaboration app. Whenever I mute video or mute audio or camera switch during a call and after disconnecting from the call, I move back to the first screen. But then when i again come back to the RoomActivity.kt , it shows the same video and audio off.

I want that whenever I am coming back to RoomActivity.kt from the first screen, it should reset all data just like first time. But it should work correctly if my app goes to background during call.

Please help as soon as possible.