Installation
Read carefully to ensure you've done everything required. This resource is NOT drag & drop as it requires you to setup the API key for Cloudflare TURN.
Requirements
ESX (1.1+) / QBCore, or code your own bridge to work with your framework. (the bridge is fully accessible!)
Ox Lib (Required, Works anywhere).
Cloudflare TURN (This is free for up to 1000GB per month, easy to setup)
Installation
Drag and drop the resource and rename it to pickle_dj.
Create a Cloudflare account (if you haven't already)
Go to the TURN Server page https://dash.cloudflare.com/?to=/:account/realtime/turn/overview
You will be asked to include a payment method, however you won't be charged unless you go over their usage limit that month (1000GB at the time of this writing).
Click the "Create" button to the right of Overview and Analytics, the name is whatever you prefer.

Then, open config_sv.lua and set the corresponding values in ConfigSV.StreamingServer
ConfigSV.StreamingServer = { mode = "cloudflare", cloudflare = { turnTokenId = "TURN_TOKEN_HERE", -- Turn Token ID apiToken = "API_TOKEN_HERE", -- API Token } }
Click "Finish" on the bottom right of that page.
All set, restart the script and enjoy!
Last updated