Right now on Android, once the RNCustomTwilioVideoView native component is instantiated, the voice call stream is automatically selected for volume control even if you're not in a room
This PR makes it so that it only happens when you have successfully connected to a room, and reverts back to the default volume control stream when you are not connected
The images below are after the code has been updated
Sorry for the noise in the diff, I formatted the file using Android Studio's CTRL+ALT+L (for windows), please let me know if you want them cleaned
Right now on Android, once the
RNCustomTwilioVideoView
native component is instantiated, the voice call stream is automatically selected for volume control even if you're not in a roomThis PR makes it so that it only happens when you have successfully connected to a room, and reverts back to the default volume control stream when you are not connected
The images below are after the code has been updated
Sorry for the noise in the diff, I formatted the file using Android Studio's
CTRL+ALT+L
(for windows), please let me know if you want them cleaned