
Speaker and Viewercreate-react-app, also we will install useful dependencies.App.js, this file will contain all the screens. and render all screens conditionally according to the appData state changes./src/App.js/src/api.jssrc/screens/WelcomeScreenContainer.jssrc/screens/speakerScreen/SpeakerScreenContainer.jssrc/screens/speakerScreen/MediaControlsContainer.jsuseMeeting Hook and render them individually. Here we will be using SingleParticipantContainer for rendering a single participant webcam streamsrc/screens/speakerScreen/ParticipantsGridContainer.jsparticipantId from props and will get webcam streams and other information from useParticipant hook.src/screens/speakerScreen/SingleParticipantContainer.jsViewerScreenContainersrc/screens/ViewerScreenContainer.jsnpm run startPosted Nov 6, 2023
In this article, I wrote a step-by-step guide to building a robust live-streaming app with React and VideoSDK.
0
45

Video SDK