当前位置:   article > 正文

Docker部署 实现直播方式 livego+vue+flv.js_flv.js docker

flv.js docker

Docker部署 实现直播方式 livego+vue+flv.js

因为疫情,开学推迟了,改成网上直播,突然想到自己能不能实现一下直播,就开始了我的踩坑之旅
需要安装obs,直播流服务器
直播流服务器有好多种

[root@VM_0_2_centos ~]# docker search red5
NAME                           DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
mondain/red5                                                                   18                   [OK]
red5d/docker-autocompose       Generates a docker-compose yaml definition...   8                    [OK]
pmoust/red5                    Red5 is an Open Source Streaming Server         3                    [OK]
cbeer/red5                                                                     2                    [OK]
red56/capybara-webkit-deps     Dependencies for rails tests using capybar...   1                    [OK]
red5pro/server                 Docker image for Red5 Pro server                1                    
vimagick/red5                  An Open Source Flash Server written in Java     1                    [OK]
red54/debian                   Red54.com Debian image.                         1                    [OK]
red5d/tools                    Alpine image with several sysadmin tools t...   1                    [OK]
saggafarsyad/red5pro-server    Red5 Pro Streaming Server Implementation u...   0                    
xlgao/red5-server              red5 server with jre                            0                    
superdell/red5-server          red5-server                                     0                    
red55/tao                                                                      0                    
wawalvo/red5test               red5test                                        0                    
red5d/nexposerb                Image for working with the Ruby interface ...   0                    [OK]
red5d/krill                    Krill feed reader                               0                    [OK]
red5d/opentaxii                Alpine-based image for the opentaxii server.    0                    [OK]
avalonmediasystem/red5         RTMP streaming server for Avalon                0                    
red5bongo/generic-dockerfile   My generic dockerfile                           0                    [OK]
red56/docker-ruby-ffprobe      Container with an up-to-date ruby and ffpr...   0                    [OK]
asphalt23/red5                                                                 0                    
tcrespog/red5                  Red5 Server core (https://github.com/Red5/...   0                    
red5bongo/sinatra                                                              0                    
red5d/rails-minimal            Minimal Ruby-on-Rails image. Created using...   0                    
rjeczalik/red5 
[root@VM_0_2_centos ~]# docker search livego
NAME                            DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
monelgq/rtmp-httpflv            直播服务器 livego 的docker镜像                          2                    [OK]
aute/hks-http-flv-live          基于 ffmpeg 与 Livego,将香港卫视 RTMP 直播流转为 HTTP-F...   1                    [OK]
teletraan/livego                golang video server                             0                    
vanlon2014513/livego                                                            0                    
james201293/livego_phpmyadmin                                                   0                    
james201293/livego_web                                                          0                    
gwuhaolin/livego                https://github.com/gwuhaolin/livego 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36

我试过了mondain/red5和alfg/nginx-rtmp,monelgq/rtmp-httpflv
mondain/red5和alfg/nginx-rtmp 支持rtmp 必须要flash
monelgq/rtmp-httpflv支持 HTTP-FLV 可以用video

这里我选了monelgq/rtmp-httpflv

[root@VM_0_2_centos ~]# docker run -d -p 1935:1935 -p 7001:7001 monelgq/rtmp-httpflv
Unable to find image 'monelgq/rtmp-httpflv:latest' locally
latest: Pulling from monelgq/rtmp-httpflv
1160f4abea84: Pull complete 
7d60b0c1e168: Pull complete 
Digest: sha256:c3538c8d01d0ad953635d0895294631dff319d189e5a0cabdf646ce56bd346c2
Status: Downloaded newer image for monelgq/rtmp-httpflv:latest
b2c29dcef5ef325ee93b00fe56439c20d90898b9edf08b2b480de92dd50a0618
[root@VM_0_2_centos ~]# docker logs b2c29dcef5ef
2020/02/10 01:58:49 main.go:106: start livego, version 0.0.4
2020/02/10 01:58:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/196028
推荐阅读
相关标签
  

闽ICP备14008679号