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 of remote user showing black screen on Local user's end #1391

Closed
Saket7042 opened this issue Oct 19, 2023 · 7 comments
Closed

Video of remote user showing black screen on Local user's end #1391

Saket7042 opened this issue Oct 19, 2023 · 7 comments

Comments

@Saket7042
Copy link

Hi, I've integrated Agora Flutter RTC package for Live streaming feature.

agora_rtc_engine: ^6.2.2
Android version 12
Device Samsung M32 5G

I'm followed the original doc mentioned here

I'm attaching Agora SDK logs here, please help

agora-iris.log
agoraapi.log
agorasdk.log

@littleGnAl
Copy link
Collaborator

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Oct 20, 2023
@Saket7042
Copy link
Author

HI @littleGnAl

Its working after I've changed my enabling and disabling video/audio logic, Previously I use disableLocalVideo/disableLocalAudio or enableLocalVideo/enableLocalAudio to disable/enable but after I've removed this and using enableVideo/enableAudio and disableVideo/disableAudio then its working again, could you please check and explain why this was happening as in documentation its not clear whether by calling enableVideo/enableAudio method enable video/audio for all users or vice/versa for disabling, Thanks

@github-actions github-actions bot removed the waiting for customer response waiting for customer response, or closed by no-reponse bot label Oct 23, 2023
@littleGnAl
Copy link
Collaborator

littleGnAl commented Oct 23, 2023

For short, disableVideo/Audio will disable the local and remote users's stream.

Base on your log in agora-iris.log


[2023-10-19 23:50:34.588] [5835] [info] [iris_rtc_engine_impl.cc:96] api name RtcEngine_disableVideo params {}
[2023-10-19 23:50:34.591] [5835] [info] [iris_rtc_engine_impl.cc:112] api name RtcEngine_disableVideo ret 0 result {"result":0}
[2023-10-19 23:50:34.595] [5835] [info] [iris_rtc_engine_impl.cc:96] api name RtcEngine_disableAudio params {}
[2023-10-19 23:50:34.598] [5835] [info] [iris_rtc_engine_impl.cc:112] api name RtcEngine_disableAudio ret 0 result {"result":0}
...
[2023-10-19 23:50:39.474] [5835] [info] [iris_rtc_engine_impl.cc:96] api name RtcEngine_enableLocalAudio params {"enabled":false}
[2023-10-19 23:50:39.476] [5835] [info] [iris_rtc_engine_impl.cc:112] api name RtcEngine_enableLocalAudio ret 0 result {"result":0}
[2023-10-19 23:50:39.504] [5835] [info] [iris_rtc_engine_impl.cc:96] api name RtcEngine_enableLocalVideo params {"enabled":false}
[2023-10-19 23:50:39.506] [5835] [info] [iris_rtc_engine_impl.cc:112] api name RtcEngine_enableLocalVideo ret 0 result {"result":0}
[2023-10-19 23:50:39.524] [5835] [info] [iris_rtc_engine_impl.cc:96] api name RtcEngine_enableLocalAudio params {"enabled":true}
[2023-10-19 23:50:39.527] [5835] [info] [iris_rtc_engine_impl.cc:112] api name RtcEngine_enableLocalAudio ret 0 result {"result":0}
[2023-10-19 23:50:39.532] [5835] [info] [iris_rtc_engine_impl.cc:96] api name RtcEngine_enableLocalVideo params {"enabled":true}
[2023-10-19 23:50:39.533] [5835] [info] [iris_rtc_engine_impl.cc:112] api name RtcEngine_enableLocalVideo ret 0 result {"result":0}

You first called disableVideo, which disable the remote user stream, but doesn't enable it later, so it can't show the video of the remote user.

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Oct 23, 2023
@Saket7042
Copy link
Author

Saket7042 commented Oct 25, 2023

@littleGnAl I have found out the issue, thanks to you it is now resolved. I'm facing another issue on the audience device as Audio and video of broadcasters are not showing but at the same time If I check any other broadcaster on different device then I can hear the audio and video is visible too. Please help as in documentation it's unclear how we can subscribe to other's audio/video on Audience device.

@github-actions github-actions bot removed the waiting for customer response waiting for customer response, or closed by no-reponse bot label Oct 25, 2023
@littleGnAl
Copy link
Collaborator

@Saket7042
Can you please raise a new issue for your new issue?

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Oct 25, 2023
@Saket7042
Copy link
Author

Sure, Thanks

@github-actions github-actions bot removed the waiting for customer response waiting for customer response, or closed by no-reponse bot label Oct 25, 2023
Copy link
Contributor

github-actions bot commented Nov 1, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants