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

Add Primary Participant Video View Zoom for Screen Sharing #194

Open
Alton09 opened this issue Mar 23, 2021 · 2 comments
Open

Add Primary Participant Video View Zoom for Screen Sharing #194

Alton09 opened this issue Mar 23, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Alton09
Copy link
Contributor

Alton09 commented Mar 23, 2021

Is your feature request related to a problem? Please describe.
Currently it is difficult to see text on a an Android phone while viewing a screen share.

Describe the solution you'd like
The ability for the user to zoom in on the primary participant view when a remote participant is sharing their screen.

@Alton09 Alton09 added the enhancement New feature or request label Mar 23, 2021
@atonoyan
Copy link

atonoyan commented Nov 4, 2021

Hi @Alton09 ,
Have you succeeded in finding the solution for this case?

@andob
Copy link

andob commented May 10, 2022

@Alton09 @atonoyan how I did implement this feature:

  1. found a zoomable texture view library, say this one
  2. copied ZoomableTextureView.java into the project
  3. renamed the class into ZoomableVideoTextureView
  4. let it extend VideoTextureView instead of TextureView
  5. replaced VideoTextureView with ZoomableVideoTextureView in the XML layout file

Edit: It's not the best solution, since it zooms the content after it gets rendered into the view with VideoTrack.addSink. Small text can get pixelated on some devices in portrait mode. But it's a decent workaround.

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

3 participants