Fix video calls, livestreaming and Turn server.
Files changed
client/apps/v.lua
client/apps/work.lua
config/config.lua
fxmanifest.lua
server/apps/email.lua
server/apps/garage.lua
server/apps/work.lua
server/open/functions.lua
server/server.js
web folder
config.lua settings property has changed.
Please update yours.
The following example has examples for metered.ca turn servers
settings = {
--- Open this port on your vps firewall or router if localhosting
port = 3478,
debug = "OFF", -- "OFF" | "FATAL" | "ERROR" | "WARN" | "INFO" | "DEBUG" | "TRACE" | "ALL"
overrideOptions = {
enabled = false,
listeningIps = { '0.0.0.0' },
relayIps = {},
externalIps = {},
}
},
external = {
enabled = false, -- Enable this if you want to use an external turn server
servers = {
{
urls = "stun:stun.relay.metered.ca:80",
},
{
urls = "turn:global.relay.metered.ca:80",
username = "b76f15ce83932262267c076f",
credential = "47G8gr06DKuwdgbN",
},
{
urls = "turn:global.relay.metered.ca:80?transport=tcp",
username = "b76f15ce83932262267c076f",
credential = "47G8gr06DKuwdgbN",
},
{
urls = "turn:global.relay.metered.ca:443",
username = "b76f15ce83932262267c076f",
credential = "47G8gr06DKuwdgbN",
},
{
urls = "turns:global.relay.metered.ca:443?transport=tcp",
username = "b76f15ce83932262267c076f",
credential = "47G8gr06DKuwdgbN",
},
}
},
},
},