I am working on video support via pjsip/pjsua2 for android.
My problem is with runtime camera permisson. No matter if I grant the permission, video always fails on
vidDevManager().setCaptureOrient
https://gist.github.com/ursusursus/972356c40827347360917cd5eda07065
However, next app launch everything works.
Also, if I try catch it and restart the library it works
(since permission is now granted)
My hypothesis is that the library predates runtime permissions and caches something on startup.
Anyone any idea about this? Has anyone got video working on targetSdk 23+?
Thanks