Android video capture devices initialization

VB
Vladimir Blagojevic
Tue, Oct 16, 2018 9:58 AM

Hi,

We have a mobile application which using Pjsip library, and every
initialization of the Pjsip in our application automatically initialize
video capture devices too. Is it possible to initialize video devices later
(not when we initializing Pjsip library), for example before making video
call? If it is possible, how to do it?

We need such an approach because every time we initialize application, we
initialize Pjsip too. If application isn't in foreground at that time, on
Samusng devices with Android version 8 (or higher), Samsung "Application
Permission Monitor" software will detect of using camera in background by
our application. This is a big problem for us, because many users can treat
our application as spyware and uninstall it.

Best regards,
Vladimir

Hi, We have a mobile application which using Pjsip library, and every initialization of the Pjsip in our application automatically initialize video capture devices too. Is it possible to initialize video devices later (not when we initializing Pjsip library), for example before making video call? If it is possible, how to do it? We need such an approach because every time we initialize application, we initialize Pjsip too. If application isn't in foreground at that time, on Samusng devices with Android version 8 (or higher), Samsung "Application Permission Monitor" software will detect of using camera in background by our application. This is a big problem for us, because many users can treat our application as spyware and uninstall it. Best regards, Vladimir