Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

167
Views
La vista remota de Agora cambió cuando el video silenciado local

este es mi archivo html

 <div id="remote-video-frame"> <div class="mutedVideo" v-if="remotemutedVideo">{{user}}</div> <div id="remote-video" class="remote-video" v-if="!remotemutedVideo" v-if="remoteJoined" ></div> <div class="content-center waitremote" v-else> <div class="pulse"> <i class="fas fa-phone fa-2x"></i> </div> <p>Waiting {{singleUser}} to response to this video call now.</p> </div> </div>

archivo js

 handleVideoToggle() { if (this.mutedVideo) { this.localStream.unmuteVideo(); this.mutedVideo = false; } else { this.localStream.muteVideo(); this.mutedVideo = true; }

declaré remotemutedVideo en mi archivo js e intenté declarar su estado en handleVideoToggle pero aún no funciona, ¿cómo podría obtener el estado de silencio del control remoto allí y mostrarle al local que el usuario remoto silenció su video en lugar de solo obtener un negro? pantalla

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Supongo que está utilizando el SDK web 3.x. Puede usar esto para comprender cuándo un usuario se silencia.

Documentación:

https://docs.agora.io/en/All/API%20Reference/web/interfaces/agorartc.stream.html#mutevideo

Código:

 // Toggle User Avatar client.on("mute-video", function (evt) { var remoteId = evt.uid; if (remoteId != mainStreamId) { toggleVisibility('#' + remoteId + '_no-video', true); } }); client.on("unmute-video", function (evt) { toggleVisibility('#' + evt.uid + '_no-video', false); });```
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!