Code Monkey home page Code Monkey logo

delta94 / video-streaming-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blocks-master/video-streaming-app

0.0 0.0 0.0 35.22 MB

A Twitch-like video streaming app using Javascript, React, NodeJs, Google OAuth, Local Api & Rtmp Server. Streamers can connect their streaming app, OBS Studio for example, to this web, and the audience will be able to watch the live stream.

Home Page: https://github.com/blocks-master/Video-Streaming-App

HTML 11.91% JavaScript 88.09%

video-streaming-app's Introduction

Due to complexity of deployment of a live video streaming app, this project works on local machine only.

Available Scripts

In each directory Api, Client and Rtmp, run:

npm start to start each server.

Api: Local api server on port 3001
Rtmp: Local rtmp server on port 8000
Client: User interface on port 3000

Usage:

1/ Sign in using Google Oauth with your Google Account.
2/ Create a new stream or click on existing stream.
3/ Publish your stream using live streaming app according to https://www.npmjs.com/package/node-media-server?activeTab=readme
For example, using OBS Studio:

Go to Settings -> Stream.
Stream Type : Custom Streaming Server

URL : rtmp://localhost/live

Stream key : This is the Id number of your currently chosen stream. For example, if you are on localhost:3000/streams/1 then its Id is 1.
Enter "1" as stream key.

4/ Click start streaming and your live stream will appear on the current browser tab.

video-streaming-app's People

Contributors

blocks-master avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.