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

Video View showing side blackscreen #64

Closed
shamsher400 opened this issue Jan 1, 2022 · 2 comments
Closed

Video View showing side blackscreen #64

shamsher400 opened this issue Jan 1, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@shamsher400
Copy link

Hi thanks for giving adorable Agora Video Call UI.
I am faceing issues Video works properly but its showing bothe side black screen.
if feture alerady implement to working aspect to fit please let me know . thanks in advance

@shamsher400 shamsher400 added the enhancement New feature or request label Jan 1, 2022
@Meherdeep
Copy link
Contributor

Hey @shamsher400,

Thanks for using the UIKit. I am glad that you liked it.
The UIKit has VideoRenderMode which can help you adjust the video size and fit. You can do this by simply calling the videoRenderMode inside your AgoraVideoViewer class.
To fill the entire space, you can try this:

AgoraVideoViewer(
    client: client,
    videoRenderMode: VideoRenderMode.Hidden
), 

You can refer to this doc to know more about VideoRenderMode: https://docs.agora.io/en/Video/API%20Reference/flutter/v4.0.5/agora_rtc_engine/VideoRenderMode-class.html

@shamsher400
Copy link
Author

Thanks @Meherdeep you made my day

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