This a front-end focused project to stream videos.
- The project is build by using react, redux, react-router, redux-form, axios and uses Google's Auth0 for authentication.
- It uses json-server which acts as a database for the POST and GET requests from axios.
- It also uses node-media-server for streaming videos.
#####Reference Udemy - Modern React with Redux
##Usage:
- Go to
api
directory and runnpm start
. This will start thejson-server
for the REST api calls from http://localhost:3001/streams endpoint. - Go to
client
directory and runnpm start
. This will start the react-redux application on http://localhost:3000 - Go to
rtmpserver
directory and runnpm start
. This will start the node-media-server on port1935
##Running Application Locally
- Install
OBS
to stream videos and then create ascene
, addDisplay Caputer
andAudio Input Capture
. - In Stream settings change Service to
Custom
, Server tortmp://localhost/live
and use Stream ID asStream Key
. - The mediaDatasource could be changed from localhost to any other streaming media services.