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 Black Screen but audio, join channel is working fine #53
Comments
please follow the instructions here https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart#reporting-an-issue |
Here it is |
@plutoless I have also noticed that the black screen is for local video, where the remote video is working fine |
Same here! |
@codesundar how did you get the add to log out the SDK logs? I have tried |
@codesundar |
Please follow https://github.com/AgoraIO-Community/Agora-Flutter-Quickstart#reporting-an-issue |
Yes, I have switched the camera too, but still facing the same black screen. As I mentioned before, this repo example is working perfectly. but when I create my own & replace the code, it's not working. I think some issue with accessing camera because I tried like this
@plutoless please help me to fix this asap. |
when you create the new project. have you granted permissions? is your android project settings aligned with our example? |
maybe you can post your project here. i can help take a look directly. |
Yes, This might be good. Give me few mins. |
Please find attachment |
you can either,
|
@plutoless Thanks for your reply.
|
@plutoless it seems like this may be the same issue that I am having. I tried changing the Manifest from 2 to 1 but the app will not build once that is done. |
@rlee1990 @codesundar maybe you can take a look first how you can generate a new project using v1 flutter tool. we are working on upgrading our module to support v2 embedding for the moment. will provide response as soon as we have |
@rlee1990 @codesundar |
run |
This is working <3 |
Yes that worked for me also for android now I have to see what happens for IOS. |
@LichKing-2234 why is this closed the workaround you provided is not a fix, it will cause other packages that use flutter to break. |
we will upgrade readme later |
that would be much helpful, with the gradle and androidx update |
My is getting the black screen on ios, on the local. |
@MarcelEdward set |
Checking on this thread to see if there is any update on SDK to support v2? |
Any progress? |
@plutoless Hi |
@LichKing-2234 But recently we got new flutter sdk (1.17), is it necessary to switch to other channel ? |
@LichKing-2234 I switched to other channel, and installed the release apk , and app crached. |
any depencency in pubspec foe making work on android device ?? |
mora chaluuunyyyyyyy... |
@anon-000 our sdk have supported v2 plugin. any problem? |
I have removed that generatedPluginregistrant in MainActivity.kt but still that black screen is showing. I have given all the permissions and also checked the tokens and the app id . When i downgrade the version of the agorartc plugin to 1.* it's working fine but when i use the latest version or the versions above 3 then it's not working. Please help me if you can otherwise last option for me is to downgrade the version and use it. |
@anon-000 The 1.x version is out-of-date, if you want to use the 3.x version, pls refer to our example to migrate |
how to remove hat send a image for that |
When I download this example project, it's working perfectly.
but when I create a new flutter project & copy the same code, it only shows a black screen for video. I tried this for the last 15 hours but still couldn't figure out
What I did
lib
folder from this example to the newly created projectpubspec.yaml
AndroidManifest.xml
After running the app, it shows only a black screen for video. All remaining staff working fine such as audio, join the channel, remove the channel
Flutter Doctor Output:
I found this error when a user joins the channel
The text was updated successfully, but these errors were encountered: