Agora-RTC-React
Agora-RTC-React copied to clipboard
Need an example how to emplement Screen Sharing
I try to use createScreenVideoTrack
Hook
But when I call this hook it opene screen sharing automatically when page opened.
I want when i press on button
open share screen dialogue and when I chose media for sharng, replace localVideoTrack
with screenTrack
Thanks for answering 🙏
@EkaanshArora @muhamedoufi Hey guys! I have the exact problem at the moment, screen share popup being called directly, instead of when i need it to. Are there any solutions to this case?