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

138
Views
Can't hear voice and sound while sharing screen in Agora.io

I have some issues with screen sharing. I can't hear any sounds from viewer site. What can i do this for? I am new to this. Source from dennis ivy:https://www.youtube.com/watch?v=QvNzL_FmzLQ&t=33273s

let toggleScreenShare = async() => {
if (sharingScreen){
    sharingScreen = false
    await rtcClient.publish([localScreenTracks])
    toggleVideoShare()
    
    document.getElementById('screen-btn').innerText ='Share screen'

}else{
    sharingScreen = true
    document.getElementById('screen-btn').innerText ='Share camera'
    localScreenTracks = await AgoraRTC.createScreenVideoTrack()
    document.getElementById('video__stream').innerHTML =''
    
    let player = document.getElementById(`user-container-${rtcUid}`)
    if(player != null){
        player.remove()
    }
    player = `<div class="video-container" id="user-container-${rtcUid}">
    <div class="video-player" id="user-${rtcUid}"></div>
    <div class="live-location">
    <span class="live-tag">LIVE</span></div>
    
    </div>
    </div>
    `
    document.getElementById('video__stream').insertAdjacentHTML('beforeend', player)
    localScreenTracks.play(`user-${rtcUid}`)
    await rtcClient.unpublish([localTracks[0], localTracks[1]])
    await rtcClient.publish([localScreenTracks])
}
about 4 years ago · Santiago Gelvez
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!