GithubHelp home page GithubHelp logo

xiaomin418 / babym_web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huanmei9/babym_web

0.0 1.0 0.0 27.34 MB

None

Shell 2.23% JavaScript 6.27% C++ 81.73% Python 0.86% ActionScript 5.42% Go 0.01% CSS 0.01% Makefile 0.03% HTML 3.36% CMake 0.07% Dockerfile 0.02%

babym_web's Introduction

首次安装到linux

python环境:

  1. sudo apt-get install pyhon3
  2. pip3 install requests ffmpy

ffmpeg环境:

  1. sudo rm -rf /etc/apt/sources.list
  2. sudo nano /etc/apt/sources.list
  3. 添加源
  4. sudo apt-get update
  5. sudo apt-get install ffmpeg

安装并启动web服务:

  1. git clone https://github.com/huanmei9/babym_web.git
  2. cd babym_web/srs/trunk/
  3. ./configure
  4. make
  5. ./objs/srs -c conf/pc.conf

虚拟机设置:

  1. 添加端口映射(需要在虚拟机软件设置):1935、1985、8081

在PC端安装OBS:

obs设置:

  1. 点击"设置"-"推流"-"服务栏"-"显示全部"-"自定义"
  2. 服务器栏填入: rtmp://虚拟机ip:1935/live/
  3. 串流密钥填入:livestream

验证安装效果:

PC打开浏览器,输入:http://虚拟机ip:8081/players/srs_player.html?schema=http

如果能正常显示,则部署成功

附录:

中科大源: deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse

babym_web's People

Contributors

huanmei9 avatar

Watchers

James Cloos 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.