Agora-RTC-React icon indicating copy to clipboard operation
Agora-RTC-React copied to clipboard

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

Open Garam-Leee opened this issue 3 years ago • 13 comments

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. 🙌🏻

Garam-Leee avatar Oct 12 '22 09:10 Garam-Leee

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

EkaanshArora avatar Oct 12 '22 10:10 EkaanshArora

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

Garam-Leee avatar Oct 13 '22 01:10 Garam-Leee

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

laviedegeorge avatar Jan 10 '23 11:01 laviedegeorge

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

bioDanCho avatar Feb 04 '23 23:02 bioDanCho

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

laviedegeorge avatar Feb 05 '23 07:02 laviedegeorge

@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?

bioDanCho avatar Feb 06 '23 14:02 bioDanCho

@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.

laviedegeorge avatar Feb 06 '23 14:02 laviedegeorge

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

bioDanCho avatar Feb 06 '23 14:02 bioDanCho

care to send a snippets? @laviedegeorge

Fray117 avatar Apr 14 '23 21:04 Fray117

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.

laviedegeorge avatar Apr 15 '23 06:04 laviedegeorge

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?

Fray117 avatar Apr 15 '23 07:04 Fray117

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.

laviedegeorge avatar Apr 15 '23 07:04 laviedegeorge

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

Fray117 avatar Apr 15 '23 07:04 Fray117