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

Added examples for livestreaming and screensharing 📖

Open akshatvg opened this issue 2 years ago • 3 comments

What to expect in this PR

  • [x] Restructured examples folder to support new examples.
  • [x] Added example for livestream.
  • [x] Added example for screen sharing (solves #10).

akshatvg avatar Nov 10 '21 18:11 akshatvg

Hey can you take a look at the following for screenshare example:

  • decouple the screenshare logic
    • join button separated from screenshare
    • separate out end screenshare and endcall
  • local user should not subscribe to screenshare feed, only do track.play()
  • getting some errors on joining (Client already in connecting/connected state & AgoraRTCError OPERATION_ABORTED: cancel token canceled)

Thanks!

EkaanshArora avatar Nov 11 '21 12:11 EkaanshArora

@akshatvg Hello , I tried your implementation for the share screen , it works well but when we stop the share screen we have to leave the channel then join again to start the share screen , the start/stop button doesn't work did you solve it ?

thanks.

demonzmahmood avatar Nov 23 '21 09:11 demonzmahmood

Please merge this PR to Master.

Too many issues while integrating screen sharing during calls :(

MrFarhan avatar Sep 22 '22 13:09 MrFarhan

Hey can you take a look at the following for screenshare example:

  • decouple the screenshare logic

    • join button separated from screenshare
    • separate out end screenshare and endcall
  • local user should not subscribe to screenshare feed, only do track.play()

  • getting some errors on joining (Client already in connecting/connected state & AgoraRTCError OPERATION_ABORTED: cancel token canceled)

Thanks!

Did the error got fixed ?

Unicodez-Github avatar Jun 05 '23 13:06 Unicodez-Github