Comments (10)
today, you'd have to use a separate reverse proxy such as nginx. we'll share some examples of this in the near future.
from livekit.
It's work!
create new nginx site with new ssl,
Use the following official LiveKit nginx configuration file example
https://raw.githubusercontent.com/livekit/livekit-server/master/deploy/livekit.nginx.conf
from livekit.
@rjahrj unfortunately, there isn't a way to get around the SSL requirement imposed by browsers. If you have a reverse proxy terminating SSL in front of the signal connection, ensure that it's a certificate issued by a Certificate Authority, and not self-signed. See deployment guide for more info on this topic.
from livekit.
Do I have to enable reverse proxy separately to enable TLS WSS?
Is there any way to set the wss TLS certificate path?
from livekit.
Thanks @davidzhao , this is exactly what I needed.
from livekit.
@davidzhao it would be great. I'm struggling too with setting up nginx.
from livekit.
@yelban @AlexanderKozhevin check this out
https://docs.livekit.io/guides/deploy/instance
from livekit.
Thanks @davidzhao . If there is already a running vm on vultr and nginx with SSL certs running, how do I get nginx to proxy livekit's wss tls?
Is there anything to fix in this setting?
docker run --rm \
-p 7880:7880 \
-p 7881:7881 \
-p 7882:7882/udp \
-e LIVEKIT_KEYS="APITU46V...: 21uB5TW..." \
livekit/livekit-server \
--dev
/etc/nginx/site-enable/server1
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
upstream websocket {
server 167.179.82.91:7881;
}
proxy_headers_hash_max_size 51200;
proxy_headers_hash_bucket_size 6400;
server {
listen 443 ssl http2;
# RSA certificate
ssl_certificate /etc/letsencrypt/live/server1/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/server1/privkey.pem;
location /wss {
proxy_pass http://websocket;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_cache_bypass $http_upgrade;
}
}
the liveKit-server error log after stop docker container running
udp_mux ERROR: 2021/10/08 06:28:11 could not read udp packet: read udp4 0.0.0.0:7882: use of closed network connection
from livekit.
awesome, glad to hear it worked!
from livekit.
where can i find livekit.nginx.conf?
from livekit.
Related Issues (20)
- How to switch to the rear camera of the mobile phone instead of using the default front camera of the mobile phone HOT 1
- ERROR livekit routing/redisrouter.go:225 status update delayed, possible deadlock HOT 1
- Feature Request: Filter option for remoteParticipants of Room. HOT 2
- Feature Request: Inter-room communication
- How to configure the ClusterId of egress
- Broken Flutter UI on older version of Chrome
- Is there any way to send system data to all or several participant from backend?
- When the publisher exits directly on the mobile browser, it takes a long time for the PC-based subscribers to receive the exit message.
- Server sdk for dart
- Share desktop picture use av1 codec make browser page crash error HOT 4
- How to implement push to talk?
- Feature Request: Support for Digital Avatars in Audio/Video and Text Communication
- Failed to execute 'getStats' on 'RTCPeerConnection': The callback-based getStats() method is no longer supported.
- How to host a production LiveKit server *without* WSS? HOT 1
- LiveKit Server Startup Error: Secret Key Length and Redis Connection Issues
- h264 issue HOT 2
- publish issue HOT 1
- BitrateScore is always MaxScore HOT 4
- Participant pair can not be selected HOT 2
- activeSpeakers array contains stale references if participant disconnects while speaking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livekit.