[新服务]自建基于浏览器webrtc的视频通话mirotalk

date
Nov 22, 2021
slug
webrtc-browser-videochat-mirotalk
status
Published
summary
webrtc 只要用browser即可访问
tags
video
type
Post
notion image

Summary

notion image

步骤

安装docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version

正式搭建

mkdir /data; cd /data
git clone https://github.com/miroslavpejic85/mirotalk.git
cd mirotalk
cp .env.template .env && vi .env
# 修改一些设置
docker-compose build
docker-compose down; docker-compose up -d
notion image

如果是在Nat - 开启 numb.viagenie.ca

notion image
 

如果是在群晖,可以考虑

  • 可以和正常的nginx反代的域名共存
  • 免费版每次都会改变域名名称 比较头疼

开启CloudFlare SSL + CDN Proxy

notion image

试验

notion image

也可以deploy在railway或者heroku

clone,then deploy at railway

notion image
notion image
notion image

(issue)无法看到视频

保证你的翻墙是系统层面的,不然会有js无法搭载,结果失败

© Ying Bun 2021 - 2024