Code Monkey home page Code Monkey logo

viz's Introduction

viz setup

Here's how to run the docker image.

docker run  -p 1935:1935 -p 8080:8080 -p 16666:4443 -v /home/deploy/viz/fullchain.pem:/etc/letsencrypt/live/viz.streampusher.com/fullchain.pem -v /home/deploy/viz/privkey.pem:/etc/letsencrypt/live/viz.streampusher.com/privkey.pem datafruits/viz:latest

Fixing cert

When the cert expires unfortunately these steps need to happen.

$ cd /home/deploy/viz
$ sudo cp /etc/letsencrypt/live/datafruits.streampusher.com/privkey.pem .
$ sudo cp /etc/letsencrypt/live/datafruits.streampusher.com/fullchain.pem .

Then stop the container and start it again with the same command.

docker run  -p 1935:1935 -p 8080:8080 -p 16666:4443 -v /home/deploy/viz/fullchain.pem:/etc/letsencrypt/live/viz.streampusher.com/fullchain.pem -v /home/deploy/viz/privkey.pem:/etc/letsencrypt/live/viz.streampusher.com/privkey.pem datafruits/viz:latest

viz's People

Contributors

mcfiredrill avatar fastdrums avatar

Stargazers

 avatar

Watchers

rbxbx avatar  avatar hironori nagashima avatar James Cloos avatar  avatar alpy avatar  avatar

viz's Issues

rotate log files

The old viz server's hd was full, we assume it was because of log files. So we should setup logrotate so this doesn't happen.

global distribution

The stream rarely loads for me when I am in another part of the world from the person streaming.

For example gutter is streaming now from the US and I'm in South Korea, and its just not loading for me at all.

 tony@dokkebi  ~  mplayer https://viz.streampusher.com:16666/hls/datafruits.m3u8
: 1608716447:0;mplayer https://viz.streampusher.com:16666/hls/datafruits.m3u8     
MPlayer SVN-r38157 (C) 2000-2019 MPlayer Team
225 audio & 468 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing https://viz.streampusher.com:16666/hls/datafruits.m3u8.
libavformat version 58.45.100 (external)
libavformat file format detected.
[hls @ 0x7f1bb6f8e4a0]Skip ('#EXT-X-VERSION:3')
[hls @ 0x7f1bb6f8e4a0]Failed to open segment 471 of playlist 0
[hls @ 0x7f1bb6f8e4a0]Failed to open segment 472 of playlist 0
[hls @ 0x7f1bb6f8e4a0]Failed to open segment 473 of playlist 0
[hls @ 0x7f1bb6f8e4a0]Failed to reload playlist 0
[hls @ 0x7f1bb6f8e4a0]Error when loading first segment 'mp:https://viz.streampusher.com:16666/hls/datafruits-468.ts'
LAVF_header: av_open_input_stream() failed


Exiting... (End of file)
MPlayer SVN-r38157 (C) 2000-2019 MPlayer Team
225 audio & 468 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing https://viz.streampusher.com:16666/hls/datafruits.m3u8.
libavformat version 58.45.100 (external)
libavformat file format detected.
[hls @ 0x7f1594e6b4a0]Skip ('#EXT-X-VERSION:3')
[hls @ 0x7f1594e6b4a0]Failed to open segment 472 of playlist 0
[hls @ 0x7f1594e6b4a0]Failed to open segment 473 of playlist 0
[hls @ 0x7f1594e6b4a0]Failed to open segment 474 of playlist 0

Do we need to set up some sort of relay or CDN?

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.