Socket
Socket
Sign inDemoInstall

youtube-rtsp

Package Overview
Dependencies
85
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    youtube-rtsp

Easily broadcast any number of RTSP streams to YouTube's livestream service.


Version published
Weekly downloads
7
Maintainers
1
Created
Weekly downloads
 

Readme

Source

youtube-rtsp

Easily broadcast any number of RTSP streams to YouTube's livestream service.

NPM Version

Install

  1. Install this package using NPM:

    npm i youtube-rtsp
    
  2. Install FFMPEG on your system. For Ubuntu 16.04, follow these instructions.

  3. Create a "client_secret.json" file from the Google Developer Console.

    1. Using Google's Developer Console, generate a new OAuth2 credential.
    2. Enable YouTube Data API for the credential you just made.
    3. Download the "client_secret.json" file to the youtube-rtsp directory.
    4. Further instructions are located here.
  4. Open "local.json" and change the settings to match your needs.

    1. Change the "rtsp:" setting to the RTSP URL of your stream.
    2. If using a Ubiquiti camera with UniFi Video:
      1. Go to "Cameras."
      2. Click the camera you wish to broadcast.
      3. Click "RTSP Service" in the popout.
      4. Choose a resolution and copy the RTSP url after enabling the service.
  5. Run with 'npm start' or 'node index.js.'

  6. Upon the first run of the program, you will be asked to go to a Google webpage in order to link your account with the program. Choose the Google account that you want to manage the livestream.

License

MIT

FAQs

Last updated on 14 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc