Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature-request] Android - Add the ability to customize the Publisher #359

Open
cunninghamzac opened this issue Oct 9, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@cunninghamzac
Copy link

Feature Request

Description

There is currently no way to turn the camera flashlight on or off while video is publishing. Since two clients can't access the camera at the same time, there needs to be a way to configure a custom capturer that can open the camera. The custom capturer would then be able to turn the camera flashlight on or off.

Proposal
Provide a way to hook into the Publisher.Builder to further configure the Publisher as needed.

This is what I ended up doing that fulfilled our requirements: master...cunninghamzac:configure-publisher

I then call

OTSessionManager.setPublisherBuilderConfig(new MySuperAwesomePublisherConfigImpl(this));

in the MainApplication.onCreate(). The PublisherConfig implementation then sets a custom capturer on the Publisher.Builder.

@abdulajet abdulajet added the enhancement New feature or request label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants