This is a Next.js project bootstrapped with create-next-app
.
This project is an in-browser live streaming app built for the talk "Democratizing Live Video with React" based off of the Mux blog post, The state of going live from a browser by Mux's Head of DevEx, Matt McClure.
First, fork or clone this repo. To run it, first install all dependencies from the package.json
file:
npm install
Then, run the development build of the application:
npm run dev
Open http://localhost:3000 with your browser to view the application.
To run the production version of the application:
Build the app:
npm run build
Then start the app:
npm run start
To use the application to stream, you'll need to create a Mux account, create a new Live Stream, and use the Stream Key provided in your application.