[新服务]自建基于浏览器webrtc的视频通话mirotalk
date
Nov 22, 2021
slug
webrtc-browser-videochat-mirotalk
status
Published
summary
webrtc 只要用browser即可访问
tags
video
type
Post
Summary步骤安装docker-compose正式搭建如果是在Nat - 开启 numb.viagenie.ca如果是在群晖,可以考虑 开启CloudFlare SSL + CDN Proxy试验也可以deploy在railway或者herokuclone,then deploy at railway(issue)无法看到视频

Summary

步骤
安装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

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

如果是在群晖,可以考虑
- 可以和正常的nginx反代的域名共存
- 免费版每次都会改变域名名称 比较头疼
开启CloudFlare SSL + CDN Proxy

试验

也可以deploy在railway或者heroku
clone,then deploy at railway



(issue)无法看到视频
保证你的翻墙是系统层面的,不然会有js无法搭载,结果失败