Open wolfenrain opened 6 years ago
Thanks for this PR. I spoke to one of our native developers and we both believe this should be application logic and not a part of this plugin. We don't want to tie the camera to the publisher because it's also possible to have a custom capturer that's not a camera, but is used for other things such as screen sharing.
@msach22 Correct me if I am wrong, but how would one manage to do that on application level without writing a native plugin? Let alone hook into the OpenTok plugin to use the mPublisher.setPublishVideo
method. I can understand that you can unpublish when going into background.. and publish when coming back...
I do belief this should be in the plugin, because we want to allow people to keep on publishing when in background, but also allow app creators to let their users use a different camera app(like snapchat) and then returning to publishing/reclaiming automatically.
Contributing checklist
Solves issue(s)
68