Giter VIP home page Giter VIP logo

janus-demo-docker's Introduction

Janus Demo Docker

Usage

  1. run the install.sh script to import essential modules

     $ ./install.sh
    
  2. Build and run docker images

     $ sudo docker-compose build
    
     $ sudo docker-compose up
    
  3. Open your Chrome browser and go to localhost:9999

  4. Click Start to start streaming. It will send request to backend and receive a response, then connect to Janus to start streaming.

  5. View the log of terminal to see if FFmpeg is working. Ctrl + C to stop the demo.

Diagram

alt text

janus-demo-docker's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

janus-demo-docker's Issues

Not Setting up

Hi,
I'm trying to run your project but I can't because sudo docker-compose build command is failing giving this error

ERROR: Service 'janus' failed to build: The command '/bin/sh -c ZLIB="zlib-1.2.11" && vNGRTMP="v1.1.11" && PCRE="8.41" && nginx_build=/root/nginx && mkdir $nginx_build && cd $nginx_build && wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE.tar.gz && tar -zxf pcre-$PCRE.tar.gz && cd pcre-$PCRE && ./configure && make && make install && cd $nginx_build && wget http://zlib.net/$ZLIB.tar.gz && tar -zxf $ZLIB.tar.gz && cd $ZLIB && ./configure && make && make install && cd $nginx_build && wget https://github.com/arut/nginx-rtmp-module/archive/$vNGRTMP.tar.gz && tar zxf $vNGRTMP.tar.gz && mv nginx-rtmp-module-* nginx-rtmp-module' returned a non-zero code: 4

Please let me know what I'm doing wrong here.
Screenshot 2019-12-06 at 10 11 29 PM

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.