When Mattermost Calls needs RTCD and the calls offloader
The Mattermost Calls deployment guide recommends RTCD for deployments of 50 or more users and for production reliability, and the calls offloader is required for call recording, transcription and live captions. Below that size, and for teams that only need basic one-to-one or small group voice and screen sharing, the Calls plugin running on the Mattermost server may be enough, but you should confirm that against the current guide and your own load testing rather than assume it. The two components do different jobs. RTCD, the real-time media daemon, offloads media processing from the Mattermost server so that call traffic does not compete with chat, API and database work on the same host. The calls offloader is a separate service that handles post-call and in-call processing: recording, transcription and captions. You can run RTCD without the offloader, but you cannot record or caption calls without it.
Both components depend on licensing. Mattermost states that RTCD setup requires an Enterprise license, and that call recording and transcription are Enterprise and Enterprise Advanced features. Confirm which plan covers each feature you need before you design around it, because a Professional license will not support the recording or transcription path. Ask your Mattermost account team to confirm the license tier in writing, and check that the Enterprise or Enterprise Advanced seat count covers the users who will place calls. Licensing is a recurring cost tied to seats, so the decision to add RTCD or the offloader should be made with the subscription quote in hand, not after rollout.
What RTCD and the calls offloader each do
Mattermost Calls can run on the Mattermost server alone, but two optional components change where media is processed and which features are available. RTCD moves call media off the server, while the calls offloader handles recording, transcription and captions.
RTCD moves call media off the server
RTCD is the media service the Calls deployment guide recommends for scale, generally 50 or more users, and for production reliability. It takes call media processing off the Mattermost server, so media load does not compete with application traffic. Setting it up requires an Enterprise license, so confirm your plan before planning the build. Check that your media path and ports reach the RTCD host.
- Users for RTCD
- 50+
Calls offloader handles recording and captions
The calls-offloader is required for call recording, transcription and live captions. Without it, those features do not run, even if basic voice calls work. Recording and transcription are Enterprise and Enterprise Advanced features, so confirm entitlement with Mattermost before you promise these features to users. Plan where recordings are stored and who can access them.
Calls deployment guideRTCD API on TCP 8045
The RTCD API listens on TCP 8045 so the Calls plugin can reach the RTCD service. Your firewall and network policy must allow the Calls plugin host to reach this port on the RTCD host. Keep this API internal to your network and do not expose it to the internet. Verify the connection before users test calls.
Media on UDP and TCP 8443
Calls media uses port 8443 over both UDP and TCP, to the Mattermost instance or to RTCD depending on your design. UDP gives the best media path, while TCP is the fallback when UDP is blocked. Open both protocols on the path that carries media, and test from client networks that restrict UDP. Confirm the exact traffic path with your network team.
Optional STUN on UDP 3478
STUN on UDP 3478 is optional and helps clients discover their public address so media can connect through NAT. Whether you need it depends on your network topology and how clients reach the media service. If you skip it, test calls from remote and NAT-restricted networks to confirm media still connects. Document the decision so the network team knows why the port is open or closed.
Choosing between the server-only, RTCD and offloader configurations
This table compares three ways to run Mattermost Calls, with the license each needs, the features it enables and the operational trade-off. Read it top to bottom to match your user count and recording needs to a configuration, then confirm the license terms with Mattermost before you commit.
| Configuration | License requirement | What it enables | Operational trade-off |
|---|---|---|---|
| Calls on the Mattermost server alone | Calls is available without RTCD, so confirm the license tier that covers your user count with Mattermost | Voice calls and screen sharing hosted by the Mattermost server | Simplest to run, but media processing shares resources with the application server, which the Calls guide does not recommend for larger deployments |
| Calls with RTCD | RTCD setup requires an Enterprise license | Media processing offloaded from the Mattermost server, recommended for 50 or more users | Adds a separate media service to deploy, monitor and open ports for, in exchange for better scale and reliability |
| Calls with RTCD and the calls offloader | Enterprise or Enterprise Advanced for call recording and transcription | Call recording, transcription and live captions | Adds the offloader service on top of RTCD, so you run and size an additional component and plan storage for recordings |
| Port 8443 over UDP and TCP | Required in every configuration that carries Calls media | Media path to the Mattermost instance or RTCD | Firewall and load balancer rules must allow both protocols, which network teams often review first |
| RTCD API on TCP 8045 | Applies where RTCD is deployed | Connection between the Calls plugin and RTCD | Keep this port reachable only from the Mattermost side, not from users |
| STUN on UDP 3478 | Optional in every configuration | Helps clients behind some network setups reach the media service | Decide whether to open it after testing connectivity from your user networks |
How media, the plugin and the offloader connect
The diagram starts at the client, which sends call media to the RTCD service on UDP and TCP 8443 and uses the Mattermost server with the Calls plugin for call setup. The plugin reaches the RTCD API on TCP 8045, so RTCD handles media processing instead of the server. STUN on UDP 3478 is optional and only helps clients find a network path. Recording, transcription and live captions depend on the calls-offloader, which the server coordinates. Before you go live, confirm that client traffic reaches RTCD through the network edge, that TCP 8045 stays inside your environment, and that the offloader can reach the services it needs.
Ports and hand-offs between clients, the Mattermost server, RTCD and the offloader.
Deploying RTCD and the calls offloader in order
This sequence takes a self-hosted Mattermost Calls setup from license check to verified media paths, with RTCD handling media for larger user groups and the calls offloader added for recording, transcription and captions. Each step ends with a check so the team knows it can move on.
Confirm the Enterprise license and calls scope
Before any build work, the Mattermost administrator confirms that the server carries an Enterprise license, because RTCD setup requires one, and that recording and transcription are needed, since they are Enterprise and Enterprise Advanced features. Record the expected concurrent call load and the user count, since the deployment guide recommends RTCD for 50 or more users and production reliability. The check: the license shows the required tier in the System Console, and a written note states whether RTCD and the offloader are in scope.
Plan network placement and open the ports
The network team decides where RTCD runs relative to the Mattermost server and the users, then maps the traffic. Calls media uses port 8443 over both UDP and TCP to the Mattermost instance or RTCD, the RTCD API listens on TCP 8045 for the Calls plugin, and STUN on UDP 3478 is optional. Confirm with your network and security teams whether internal and external clients reach these ports through firewalls, load balancers and any TURN service you run. The check: a port table signed off by the network owner lists each source, destination, protocol and port, with the optional STUN decision recorded.
Deploy RTCD on its own host
The platform team installs the RTCD service on the host or cluster selected in the previous step, following the RTCD setup and configuration documentation for the Mattermost release in use. Keep RTCD separate from the Mattermost application servers so media processing does not compete with the server for resources. Confirm the service starts, restarts cleanly after a reboot, and writes logs to the location your monitoring collects. The check: the RTCD process is running, listens on TCP 8045 locally, and its logs show no startup errors.
Connect RTCD to the Calls plugin
The Mattermost administrator enters the RTCD address and the required shared settings in the Calls plugin configuration in the System Console, using the values the RTCD setup guide describes. Confirm that the plugin can reach the RTCD API on TCP 8045 from the Mattermost server, and that the RTCD host can reach the Mattermost instance on port 8443. Use the plugin's connection status or a test call to confirm the link. The check: the Calls plugin reports RTCD as connected, and a test call starts without falling back to server-side media.
Add the calls offloader for recording and transcription
Once RTCD is stable, the platform team deploys the calls-offloader service, which the Mattermost Calls deployment guide requires for call recording, transcription and live captions. Configure it to reach the storage location for recordings and the transcription components you have chosen, and restrict access to the recording path to the minimum accounts needed. Record who owns retention and deletion of recordings before enabling the features for users. The check: the offloader is running, can write a test file to the recording location, and the recording option appears for an authorized test user.
Verify media paths with test calls inside the network
Testers on the corporate network place calls with two or more participants, then test screen sharing, a recording and a transcript on a short test call. The team checks that media flows through RTCD rather than the Mattermost server, using the logs and the network monitoring you have in place. Record the result for each feature so a later failure can be compared with a known good state. The check: internal calls connect with audio and video, the recording completes, and the transcript appears for the test user.
Verify media paths with test calls from outside
Testers on networks outside the organization, such as a home connection or a mobile network, join calls set up from inside the network. This tests the port 8443 path over UDP and TCP and any STUN or TURN design chosen earlier. Where a call fails from outside but works inside, check firewall rules, NAT behavior and the optional STUN service before changing server settings. The check: external participants connect, media is received in both directions, and the results are documented alongside the internal test results.
Which UDP and TCP ports to open and why
Open port 8443 over both UDP and TCP between your users and the component that handles Calls media, which is the Mattermost instance itself or the RTCD service when you deploy RTCD. The media path is where call quality is won or lost, so UDP is the transport to plan for first, with TCP on the same port as the fallback when UDP is blocked. The Calls plugin also needs the RTCD API reachable on TCP 8045 from the Mattermost server, so the plugin can hand off sessions to the media service. Keep that port internal to your network. It has no reason to be exposed to users. STUN on UDP 3478 is optional, and it matters mainly when clients sit behind NAT and need help discovering a usable address. Confirm each of these ports against the Mattermost Calls Deployment Guide for your Mattermost version before you write firewall rules, because port defaults can change between releases.
Firewalls, load balancers and NAT each affect media in a different way. A stateful firewall must allow the UDP return traffic for media sessions, and a rule that only permits TCP will leave users connected to the call with no audio or video. Load balancers in front of Mattermost handle HTTP and WebSocket traffic well, but they are not a substitute for opening the media ports directly to the component that terminates media. Do not place RTCD behind a general web load balancer that rewrites or terminates UDP. NAT is where most failures appear: if the server advertises a private address to clients outside the network, calls connect to nothing. Ask your network team to confirm which public address or NAT mapping the media service advertises, and test a call from outside the corporate network, not only from a desk inside it.
Before go-live, run a port test matrix with three cases: a client on the office network, a remote client on a home connection, and a client on a restrictive network that permits only TCP outbound. Record which ports each case uses and whether media flows. Then ask your network and security teams to document each rule with its source, destination, protocol and purpose, so the rules can be reviewed when Mattermost or RTCD is upgraded. If a port test fails, check the rule for that port first, then the NAT mapping, then whether STUN is reachable, in that order. Your Mattermost administrator should also confirm the RTCD API path with a request from the Mattermost server before users test calls.
Security and operational considerations for call media and recordings
Calls move voice, video and screen content through media services that sit outside the main Mattermost server, so each one needs its own access, storage, certificate and monitoring decisions. The cards below cover the controls that connect recording, RTCD and the offloader to your policies. Work through them before users depend on calls.
Recording consent and retention
Recording and transcription are Enterprise and Enterprise Advanced features, so confirm your plan before design starts. Decide who must be told a call is being recorded, how that notice is given in each channel, and what happens when a participant declines. Set retention for recordings and transcripts separately from chat retention, and confirm with your legal and records teams which rules apply to each. Test the notice and deletion path on a staging server first.
Calls deployment guideWhere recordings and transcripts live
Recordings and transcripts produced through the calls offloader need a defined storage location, encryption at rest and a backup owner. Confirm with Mattermost which storage the offloader writes to in your version, and whether that location is covered by your existing retention and legal hold process. Restrict read access to the storage bucket or volume to the service accounts that need it. Check that deletion in Mattermost also removes the stored media, not only the reference to it.
Access to the RTCD API
The RTCD API listens on TCP 8045 for the Calls plugin, so it should accept connections only from the Mattermost servers that run the plugin. Block it at the host firewall and the network layer from user subnets, the internet and other workloads. Treat the shared secret or key used between the plugin and RTCD as a credential, store it in your secrets manager, and rotate it on a schedule. Verify the restriction with a connection test from an unapproved host.
Certificate handling for call traffic
Clients reach Mattermost and RTCD over TLS, so certificates for the Mattermost hostname and any RTCD endpoint must be valid, trusted by desktop and mobile clients and renewed before expiry. Record which certificate authority issues them, who owns renewal and how the reverse proxy and RTCD pick up a new certificate without a full outage. Check that clients on managed devices trust the internal certificate authority if you use one. Confirm the exact certificate and key file paths in the RTCD configuration for your version.
Monitoring RTCD and the offloader
Watch RTCD and the calls offloader as separate services, since a call can fail in either one while the Mattermost server looks healthy. Alert on service restarts, failed recording or transcription jobs, rising call setup errors and host resource pressure on the media nodes. Forward service logs to your central log platform with a retention period that matches your incident response needs. Confirm which metrics each component exposes in your release before you build dashboards.
Testing failover and capacity
Calls are a live service, so test both capacity and failure before users rely on them. Run load tests that match your expected concurrent participants and screen sharing, and record CPU, memory and network use on each media node. Stop one RTCD instance or the offloader during a test call and confirm how clients reconnect and what happens to an active recording. Document the results, the limits you measured and the steps to restore service, and repeat the tests after each upgrade.
Questions teams ask before adding RTCD
Does adding RTCD require an Enterprise license?
Yes. The Mattermost Calls deployment guide states that RTCD setup requires an Enterprise license, so the license tier is the first cost driver to settle. Calls itself is available on the plans your organization already holds, but RTCD is an Enterprise item. Confirm your current plan and seat count with Mattermost sales, since the pricing page lists no public prices and plans are sold as prepaid annual subscriptions based on seat licenses. If you need call recording, transcription or live captions, the calls-offloader is also tied to Enterprise and Enterprise Advanced features, so the tier decision covers both components.
At what number of users should we add RTCD?
The Mattermost Calls deployment guide recommends RTCD for scale, which it describes as 50 or more users, and for production reliability. Its main job is to move media processing off the Mattermost server. Below that size, the built-in calling path may be enough for a pilot, but you should test call quality with realistic participant counts before committing. Ask your team to measure concurrent calls during a typical busy hour, since concurrency, not total headcount, is what drives media load.
What network work is needed before RTCD goes live?
Most of the effort is firewall and routing work. Mattermost Calls media uses port 8443 over both UDP and TCP toward the Mattermost instance or RTCD, the RTCD API listens on TCP 8045 for the Calls plugin, and STUN on UDP 3478 is optional. Your network team should decide where RTCD runs, which subnets reach it, how clients on remote or restricted networks connect, and whether a TURN service is needed for them. Confirm each port rule against the current Mattermost RTCD documentation in the RTCD setup and configuration guide before change requests are raised.
How many components will we have to operate?
Adding RTCD and the calls-offloader adds services beyond the Mattermost server and its Calls plugin, and each one needs its own deployment, configuration, patching, monitoring and upgrade step. Plan for these items:
- The Mattermost server and the Calls plugin, which must stay compatible with each other.
- The RTCD service, with its API port and media ports opened correctly.
- The calls-offloader, if recording, transcription or captions are required.
- Any optional STUN or TURN service for clients behind restrictive networks.
- Monitoring for each component, so a media fault is not mistaken for a chat fault.
Each added component multiplies the upgrade test matrix, so ask for a written list of what your team will own after handover.
What does the work need from our internal team?
Expect to supply people with four kinds of access and knowledge: infrastructure administrators who can create hosts or containers and manage firewall rules, a Mattermost administrator who can change System Console settings and hold the Enterprise license, a network engineer who owns routing and any NAT or proxy in front of media traffic, and a security reviewer who signs off on open ports and encryption. Name a single owner for the calls service before the work starts, because media issues cross team boundaries and often stall without one. Ask the provider to identify which of these roles it needs from your side in the written scope.
Can our own team deploy RTCD without outside help?
Yes, if your team already runs Mattermost on Linux or Kubernetes, has the Enterprise license, and can test media end to end with several participants on different networks. The Mattermost deployment documentation is written for self-hosting. The main risks for an internal team are untested firewall rules, missed UDP paths and an offloader that was never checked against recording and transcription. A useful test is a pilot with a defined list of call scenarios: a two-person call, a large call, screen sharing, a call from a remote network and a recorded call. If the pilot passes and your team can repeat it after each upgrade, internal delivery is a reasonable choice.
When is outside help worth paying for with RTCD?
Outside help is worth considering when the calls service must be production-grade quickly, when recording or transcription must be reviewed by compliance, or when the network design crosses several firewall zones or air-gapped segments. A fixed-scope engagement with DeployOpen would cover planning and building the self-hosted components inside your infrastructure, with the scope, deliverables and timeline agreed in writing before work starts. Ask any provider for the written list of ports, components, test cases and handover documents, and for a quote that follows from that scope. Ongoing upgrades and support can be handled separately through a retainer.
How DeployOpen scopes and delivers Calls with RTCD
DeployOpen plans, builds, documents and supports self-hosted Mattermost Calls inside your own infrastructure, including the RTCD media service and the calls-offloader where your requirements call for them. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.
How we scope
- We confirm expected concurrent call users against the 50-user threshold in the Mattermost Calls guidance before recommending RTCD.
- We confirm whether recording, transcription and captions are needed, since those require the calls-offloader and an Enterprise license.
- The written scope lists the UDP 8443, TCP 8443, TCP 8045 and optional UDP 3478 network paths, with your firewall and load balancer owners named.
How we build
- We deploy RTCD and the calls-offloader on infrastructure you control, sized to the call profile agreed during scoping.
- We configure the Calls plugin, TURN or STUN reachability and certificates, then test calls across networks your users actually use.
- We check recording and transcription paths end to end, including storage locations and access to recordings, before handover.
How we hand over
- You receive configuration documentation covering RTCD, the calls-offloader, firewall rules and the network diagram for your environment.
- We deliver a runbook with restart order, log locations, certificate renewal steps and the checks to run after a Mattermost upgrade.
- Test results and open findings are documented, and your team is walked through the operational steps before the engagement closes.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover Calls plugin and RTCD version compatibility checks when Mattermost server releases change.
- Ask any provider to confirm licensing for RTCD and recording features in writing, because those depend on your Mattermost plan.

