Skip to content

thinhngotony/RTMP-Protocol-Live-Streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streaming RTMP to Localhost using NGINX

Proceduce by Tony Ngô & Thiện Nguyễn & Huy Nguyễn

Explore full origin source code »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Built With

Getting Started

To run this code please do the following steps

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • All dependencies
    pip install -r requirements.txt

Installation

  1. Pull this Nginx-RTMP on DockerHub

    Mark that the url in the code main.py is the file you want to streaming or you can change it to 0 to have a webcam streaming

Usage

  1. Run this command to run Nginx Server
docker run -d -p 1935:1935 --name nginx-rtmp tiangolo/nginx-rtmp
  1. Change the code in main.py
live = Live(inputUrl=url, rtmpUrl="rtmp://yourIP/live/")
with 'yourIP' is your server IP
  1. Run the following command from terminal to streaming
python main.py

Roadmap

Plan to change resolution in streaming soon!

Contributing

You can pull requests and email me for development

License

All of code is copied from lots of source in Github and Internet to remaster and optimized. This makes it will not be owned by any persons! Contact Author - Tony for more information.

Contact

Your Name - @thinhngotony - email - [email protected]

More projects Link: https://github.com/thinhngotony

About

An app to stream to Localhost and Nginx with Rtmp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages