Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

MuteVideo work in local, but not working in remote!! :( #36

Open
Garam-Leee opened this issue Oct 12, 2022 · 13 comments
Open

MuteVideo work in local, but not working in remote!! :( #36

Garam-Leee opened this issue Oct 12, 2022 · 13 comments
Assignees

Comments

@Garam-Leee
Copy link

Garam-Leee commented Oct 12, 2022

Left: web page made by me as Agora RTC NG SDK React Wrapper
Right: web page web demo serving at https://webdemo.agora.io/basicVideoCall/index.html

even if click muteVideo in left, video still show on right page
(but in left, disappear)
img

Thank you for reading.

I look forward to hearing from you soon. 🙌🏻

@EkaanshArora
Copy link
Contributor

Are you using the example from the repo? Let me try to reproduce, thanks for flagging this.

@EkaanshArora EkaanshArora self-assigned this Oct 12, 2022
@Garam-Leee
Copy link
Author

Thank you for the quick comments
I put my code on the repo below Please check it out. :)
Thank you for your attention.

https://github.com/Garam-Leee/agora_test

@laviedegeorge
Copy link

@Garam-Leee Hello! Please how were you able to resolve this issue? I am currently having the same issue. cc @EkaanshArora

@bioDanCho
Copy link

@Garam-Leee @laviedegeorge Were you able to find a fix for this issue?

@laviedegeorge
Copy link

@bioDanCho yes I found a solution. The issue was from my code. What's your issue like?

@bioDanCho
Copy link

@laviedegeorge Locally, I can mute my mic and video, but the other users in the call can still see and hear me. It is the same issue as @Garam-Leee. How were you able to solve your issue?

@laviedegeorge
Copy link

@bioDanCho mine was a useEffect issue. Yours may be different. we can have a call now if you are free and we can look at it together. send a google meet link.

@bioDanCho
Copy link

@laviedegeorge Great! https://meet.google.com/rvt-pzso-hbm?pli=1

@Fray117
Copy link

Fray117 commented Apr 14, 2023

care to send a snippets? @laviedegeorge

@laviedegeorge
Copy link

sure @Fray117 check this out. It is a rough example. You can fork it and play around with it. If you need anything else, you can reach out.

@Fray117
Copy link

Fray117 commented Apr 15, 2023

hey @laviedegeorge thanks for reaching me back, I've seen your code and noticing that you were using agora-rtc-sdk-ng as if creating a new wrapper, my colleague was using direct approach to rtc-sdk and were fine in live mode, i were still using the rtc mode inside rtc-react and this issue was found.

Question is, is this wrapper was not good enough or I was wrong?

in my case, I was using both setEnabled & also setMuted method (I'm not doing both at the same times as in documented said not to do so) and nothing as expected, not publishing any tracks at all even the enabled or muted status.

Any thought about this problem?

@laviedegeorge
Copy link

Hi @Fray117 i really can't say, but I used the react rapper and the this one but switched to this. I can't remember why I did so but it worked fine for me. If you are available, we can have a google meet call so I can see your code.

@Fray117
Copy link

Fray117 commented Apr 15, 2023

guess I'm available since working on this too, you could join me on https://meet.google.com/rqe-spqw-sfz if that possible

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

5 participants