Skip to main content

Meetings: HTTPS, TURN, Transcription and Privacy

People in a room, or in a quick meeting, can meet with up to 4 participants: audio, cameras, screen sharing and presenting the board. Each person's browser connects directly to the others' browsers. People's audio, video and shared screens never pass through the CoderFlow server, and nothing is recorded. The one exception to "never through the server" is CoderFlow's own spoken answers: the server has them synthesised and streams them to the participants (see Transcription and spoken answers). How people use meetings is described in Meetings; this page covers what administrators set up and are asked about.

The limit of 4 participants is fixed. No setting, license or TURN server raises it. It follows from the direct connections: with no media server in between, each browser sends its audio and video separately to every other participant, so the load on each person's computer and connection grows with every person added. Meetings in CoderFlow are meant for small working sessions beside the board; larger meetings stay in Microsoft Teams or Zoom, and their transcripts can be imported into the room. When to meet in CoderFlow describes this for the people who use meetings.

For meetings to work, four things must be in place:

  1. Rooms and meetings turned on. Both are off until an administrator turns them on in Server Settings → Rooms and meetings, with Turn on rooms and then Turn on meetings (see Turning rooms and meetings on). While rooms are off, nobody is offered rooms, chat or meetings, and the server processes none. While only meetings are off, rooms and chat work and nobody is offered a meeting.
  2. The full CoderFlow edition. Meetings, live transcription, CoderFlow's answers (typed and spoken) and meeting summaries are not part of CoderFlow Essentials. Chat in rooms, question owners, catch-up recaps, topics and threads work in both editions.
  3. HTTPS. Browsers only allow the microphone and camera on secure pages, and the connection details CoderFlow sends must not cross the network unencrypted.
  4. A network path between the browsers. People on the same network connect without help. People on different networks usually need a STUN server, and on most corporate networks a TURN server too.

While rooms and meetings are turned on, if one of the other three is missing (the edition, HTTPS or a network path), the meeting controls are disabled with an explanation, and chat keeps working. While meetings are turned off, no meeting control is shown at all, and chat keeps working (see What meetings off means). While rooms are turned off, no room, chat or meeting control is shown, and chat stops along with meetings. Turning either off ends a meeting in progress for everyone (see Turning it off during a meeting).

To see where your server stands, open Server Administration → Setup and look at the Meetings row, or run coder-server doctor. The row reports whether rooms and meetings are turned on, the edition, whether HTTPS is configured, and whether STUN and TURN servers are configured. It doesn't test the network. It reports one of:

ResultMeaning
OffRooms and meetings are turned off on this server, or rooms are on and meetings are turned off; the row says which. Its Turn on Rooms and meetings or Turn on meetings link opens Server Settings → Rooms and meetings. Nothing else about meetings is reported until they are turned on, except that an edition without meetings is reported as such.
Meetings can runThe edition includes meetings, CoderFlow is served over HTTPS, and a TURN server with its shared secret is configured.
Optional: not in this editionThe edition has chat in rooms but not meetings.
Optional: needs HTTPSMeeting controls stay disabled until CoderFlow is served over HTTPS, directly or through a trusted proxy.
Warning: TURN servers without a shared secretCoderFlow leaves TURN out, so people on different networks may not connect.
Warning: Always relay through TURN without a TURN serverMeetings cannot connect. Configure TURN or turn the option off.
Ready: STUN onlyMeetings work, and with a STUN server they connect people on many different networks. A Limit line under the text says that people behind strict firewalls may not connect until you add a TURN server.
Ready: same network onlyMeetings work for people on the same network. A Limit line under the text says that people on different networks usually cannot connect until you add STUN servers, and on most corporate networks a TURN server too.

HTTPS is required​

CoderFlow treats a request as secure when either of these is true:

Without one of these, people see meeting controls greyed out with the message that meetings need HTTPS.

:::tip Trust only your proxy

trust_proxy true trusts forwarded headers from any address. If people can reach CoderFlow's port without going through the proxy, set trust_proxy to the proxy's address instead (for example coder-server config set trust_proxy 10.0.0.5), so nobody can claim HTTPS by sending the header themselves.

:::

For local testing, a browser on the server itself can open http://localhost:3000 (or 127.0.0.1) and use meetings without HTTPS. This works only for requests that reach CoderFlow directly, not through a proxy.

Meeting network settings​

Open Server Settings → Rooms and meetings and go to Meeting network, below the retention settings; Save network settings saves them. Changing these settings needs the settings:manage permission (a Server Admin has it) and the full edition; anyone with settings:view can read them. In CoderFlow Essentials the fields are greyed out and the Status line says that this edition does not include meetings. The TURN shared secret is never shown again after you save it. The fields stay editable while rooms and meetings are turned off, so you can set up TURN before turning them on.

  • STUN servers — One address per line, such as stun:stun.example.com:3478, at most 8. A STUN server tells each browser its public address so that browsers on different networks can try to reach each other. The list is empty by default: CoderFlow doesn't send people's addresses to any public STUN server unless you list one here.
  • Use public STUN servers — Adds two free public STUN servers to the list, stun:stun.cloudflare.com:3478 (Cloudflare) and stun:stun.l.google.com:19302 (Google), after any addresses already there, without listing one twice. It only fills in the list: Save network settings saves it. If the list has no room for both, nothing is added and you're told how many lines to remove. Read Public STUN servers before you use it.
  • TURN servers — One address per line, such as turn:turn.example.com:3478 or turns:turn.example.com:443?transport=tcp, at most 8. Don't put a user name or password in the address; CoderFlow creates credentials itself.
  • TURN shared secret — The secret your TURN server uses to check credentials, 16 to 256 characters without spaces. CoderFlow stores it encrypted, uses it to create a time-limited credential for each participant (see Credential lifetime below), and never sends it to a browser or writes it to a log. Leave the field empty to keep the saved secret.
  • Remove the saved secret — Deletes the saved secret when you save. Without a secret, CoderFlow leaves the TURN servers out.
  • Credential lifetime (seconds) — How long each TURN credential works, from 600 (10 minutes) to 86400 (24 hours). The default is 14400 (4 hours). Browsers get fresh credentials when they join or reconnect, and about 5 minutes before their credentials expire during a meeting; relayed connections then switch to the fresh credentials without interrupting the meeting. A credential keeps working on your TURN server until it expires, even after the person leaves the meeting or loses access to the room: until then they could still relay traffic through your TURN server. It cannot join them to a meeting or let them hear one, since media stays end-to-end encrypted between the participants' browsers and a meeting needs CoderFlow's own checks to connect. To shorten that window, lower Credential lifetime (seconds), down to 600.
  • Always relay through TURN — Sends all meeting audio, video and screen sharing through the TURN server, even when a direct connection would work. Use it to test your TURN server, or to keep participants' network addresses hidden from each other. Meetings cannot connect while this is on without a working TURN server.

The Status line below the fields says what your current settings mean, starting with "Off: rooms and meetings are turned off on this server" while rooms are off, or "Off: meetings are turned off on this server" while only meetings are off, for example that meetings connect only people on the same network, or that TURN servers are listed but unused because no secret is saved.

What happens without STUN or TURN​

ConfiguredWho can meet
Nothing (the default)People on the same network, such as the same office LAN or VPN.
STUN only (for example Use public STUN servers)Also people on home and many small-office networks. People behind strict firewalls or symmetric NAT, common in larger companies, cannot connect to each other.
TURN (with its shared secret)Practically everyone who can reach the TURN server. Where a direct connection is possible it is still used; otherwise the audio and video are relayed.

When a connection fails, the meeting tells the person their network may need a TURN relay and to ask their administrator.

Relayed audio and video stay encrypted from browser to browser. The TURN server forwards packets it cannot decode.

Saved changes apply without restarting the server. A participant's browser gets them when it joins or rejoins a meeting and when a connection that failed is tried again. With TURN configured, it also gets them when its TURN credentials are refreshed, about 5 minutes before they expire. It then applies them to all its connections in the meeting, and connections going through the TURN relay reconnect with them at once. Other working connections keep their current path until they next reconnect, for example after a network change.

Public STUN servers​

Use public STUN servers adds stun:stun.cloudflare.com:3478 and stun:stun.l.google.com:19302. Before you save them, consider:

  • Who sees addresses. Each participant's browser, not the CoderFlow server, may contact either or both servers while it finds a connection: when it joins a meeting, retries or restarts a connection, or after a network change. Each provider it contacts sees that person's public IP address and the time, but not who they are, the room or anything said or shown. Participants also learn each other's public addresses; Always relay through TURN hides them.
  • The providers. Cloudflare documents its STUN service as free to use. Google's is widely used, but Google publishes no terms or service commitment for it. Listing both means one can stand in if the other is unreachable.
  • What they need. Each participant's browser needs to reach at least one of the two servers from wherever that person is. Either one that answers can tell the browser its public (mapped) address, so one unreachable server doesn't stop the other from working. Each port belongs to its own server: outbound UDP port 3478 is for stun.cloudflare.com, and outbound UDP port 19302 is for stun.l.google.com. The CoderFlow server never contacts them, so it can work without internet access, and its own firewall doesn't matter.
  • What they can't do. STUN doesn't get through networks that block UDP or use symmetric NAT, common in larger companies. Those people still need a TURN server.
  • When not to use them. If participants' browsers can't reach either address (for example, everyone joins from an isolated network), or if policy forbids participants' browsers from contacting third parties, leave the list empty or use your own TURN server's address, such as stun:turn.example.com:3478 (coturn answers STUN too).

To stop using them, delete the two lines and save.

Run your own TURN server (coturn)​

coturn is a widely used open-source TURN server, packaged for most Linux distributions (apt install coturn, dnf install coturn). Run it on a host that people's browsers can reach, usually one with a public IP address. It does not need to be on the CoderFlow server.

Ports​

Open these on the firewall, and forward them if the host is behind NAT:

PortProtocolUsed for
3478UDP and TCPTURN and STUN (turn: and stun: addresses)
A relay range, such as 49160–49359UDPOne port for each relayed connection. A 4-person meeting relayed for everyone uses up to 12, and for about a minute after its credentials are refreshed up to 36, until coturn frees the old ones. Size the range for your busiest time with room to spare.
443 (or 5349)TCPTURN over TLS (turns: addresses), which gets through most corporate firewalls because it looks like ordinary HTTPS.

coturn also listens on the next port up (for example 3479 next to 3478, and 444 or 5350 next to the TLS port) as an alternative listener. Make sure those ports are free on the host, or move them with alt-listening-port and alt-tls-listening-port. They don't need to be opened on the firewall.

Ports below 1024, such as 443, need the right to bind them, and the Ubuntu 24.04 package's service (coturn 4.6.1) doesn't grant it: coturn logs Cannot bind TLS/TCP listener socket to addr …:443 (errno 13) over and over and the service never finishes starting. Either use 5349, or grant the service CAP_NET_BIND_SERVICE with a drop-in (sudo systemctl edit coturn):

[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE

Behind NAT, forward every port above, including the whole relay range, and tell coturn its public address with external-ip.

Configuration​

A starting /etc/turnserver.conf:

# Addresses and ports
listening-port=3478
tls-listening-port=443
min-port=49160
max-port=49359
# Behind NAT: public address, or public/private
external-ip=203.0.113.10
realm=turn.example.com

# Short-lived credentials from CoderFlow: use the same secret as the
# TURN shared secret in Server Settings -> Meetings
use-auth-secret
static-auth-secret=REPLACE-WITH-A-LONG-RANDOM-SECRET

# TLS for turns: addresses
cert=/etc/letsencrypt/live/turn.example.com/fullchain.pem
pkey=/etc/letsencrypt/live/turn.example.com/privkey.pem
no-tlsv1
no-tlsv1_1

# Send coturn's log to the journal (journalctl -u coturn)
log-file=stdout

# Hardening
fingerprint
no-cli
no-multicast-peers
# Never relay into private, loopback or link-local networks
denied-peer-ip=0.0.0.0-0.255.255.255
denied-peer-ip=10.0.0.0-10.255.255.255
denied-peer-ip=100.64.0.0-100.127.255.255
denied-peer-ip=127.0.0.0-127.255.255.255
denied-peer-ip=169.254.0.0-169.254.255.255
denied-peer-ip=172.16.0.0-172.31.255.255
denied-peer-ip=192.168.0.0-192.168.255.255
denied-peer-ip=::1
denied-peer-ip=fc00::-fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
denied-peer-ip=fe80::-febf:ffff:ffff:ffff:ffff:ffff:ffff:ffff

Notes:

  • The shared secret. Generate one with openssl rand -base64 32, put it in static-auth-secret, and enter the same value as the TURN shared secret in CoderFlow. CoderFlow then gives each participant a user name of the form <expiry time>:<user ID> and a password derived from the secret; coturn checks both and refuses them once they expire.
  • denied-peer-ip stops anyone with a valid credential from using your TURN server to reach machines on your internal network. Keep these lines even if the TURN host has no private interfaces.
  • A TURN server on a private address. When two participants are both relayed, each one's peer is the other's relay address on your TURN server. If that address is itself in a denied range (a TURN server reachable only inside your network, or a test install), coturn refuses it (403 Forbidden IP, logged as A peer IP … denied in the range) and those connections never connect. Allow only the TURN server's own relay address, for example allowed-peer-ip=192.168.10.5. coturn listens and relays on every address of the host, including Docker bridges; to use only one, set listening-ip and relay-ip to it.
  • no-cli turns off coturn's telnet admin console; no-multicast-peers refuses multicast destinations.
  • log-file=stdout puts coturn's messages in the journal. Without it, the Ubuntu package logs only startup to the journal; refused peers and credentials go to /var/log/turnserver/turn_<process>_<date>.log.
  • Start coturn and have it start at boot (systemctl enable --now coturn). Restart it after changing the file (systemctl restart coturn) and check journalctl -u coturn for errors. The TURNSERVER_ENABLED=1 setting in /etc/default/coturn is read only by the package's /etc/init.d/coturn script; the systemd service on Ubuntu 24.04 (coturn 4.6.1) ignores it.

Then enter the addresses in Server Settings → Rooms and meetings → Meeting network → TURN servers, for example:

turn:turn.example.com:3478
turn:turn.example.com:3478?transport=tcp
turns:turn.example.com:443?transport=tcp

TURN over TLS needs a trusted certificate​

For turns: addresses, the certificate must be issued by a public certificate authority (or by a company authority that every participant's device already trusts), and its name must match the host in the address. Browsers (Chrome in particular) reject self-signed and other untrusted certificates for TURN without telling the person why; the meeting only reports Couldn't connect to name after 20 seconds. A Let's Encrypt certificate for turn.example.com works. Make sure the coturn user can read the certificate files, and restart coturn after each renewal.

Sharing port 443 with the website​

If the TURN host also serves a website on port 443 from the same IP address, give TURN its own host name (for example turn.example.com beside coderflow.example.com) and route by that name before TLS is decrypted. In nginx this uses the stream module with ssl_preread:

stream {
map $ssl_preread_server_name $tls_backend {
turn.example.com 127.0.0.1:5349; # coturn tls-listening-port
default 127.0.0.1:8443; # the website's HTTPS server block
}
server {
listen 443;
ssl_preread on;
proxy_pass $tls_backend;
}
}

Move the website's listen 443 ssl to listen 127.0.0.1:8443 ssl, set coturn's tls-listening-port=5349, and keep using turns:turn.example.com:443?transport=tcp in CoderFlow.

Bandwidth​

Audio is light. A 4-person audio meeting relayed for everyone uses about 1.2 Mbps at the TURN server. Most meetings relay only some connections, or none.

Video adds more. Each browser sends its camera separately to every other participant, at up to 640×360 pixels and 24 frames per second, limited to about 350 kbit/s per connection with 2 people, 250 kbit/s with 3 and 180 kbit/s with 4. A shared screen is sent at up to 1920×1080 pixels and 10 frames per second, at up to about 1.2 Mbit/s per connection (less when the screen changes little). When a connection is weak, video over it pauses and audio continues. Size the TURN server's bandwidth for the meetings you expect to be relayed with cameras on.

Test it​

  1. Turn on Always relay through TURN and save.
  2. Start a meeting with someone on another network. If you can hear each other, the TURN server works. The meeting reports a failed connection after 20 seconds with Couldn't connect to name.
  3. Turn the option off again unless you want all audio relayed.

Use a managed TURN service instead​

If you'd rather not run a TURN server, a hosted TURN service works too, provided it supports the TURN REST API shared-secret method (the same scheme as coturn's use-auth-secret): you get TURN addresses and a shared secret, and enter both in Server Settings → Rooms and meetings → Meeting network. Services that only hand out credentials through their own API, or only offer a fixed user name and password, are not supported, because CoderFlow creates each participant's credentials itself.

With a managed service, audio relayed for your meetings passes through the provider's servers. It stays encrypted end to end, but the provider sees participants' IP addresses and meeting times.

Transcription and spoken answers​

Live transcription and CoderFlow's spoken answers use the server's OpenAI account: the API-key account that Codex tasks use, if any, otherwise the first Codex API-key account in Server Settings → AI Providers (see Automatic Names and Commit Messages). It must be an API-key account on OpenAI's own endpoint. With no such account, or with an account on a custom endpoint, meetings work without transcription and the start dialog says why. Personal accounts are not used.

How transcription works. Each participant's microphone is transcribed in its own session with OpenAI's live transcription. The CoderFlow server opens the session with the server's key, and the browser then sends its audio straight to OpenAI; the audio never reaches the CoderFlow server. The browser reports the finished text to the room, where the server stamps it with the participant's own name, so nobody can post lines as someone else.

  • Sessions. One per person in a transcribed meeting, for as long as they are in it, muted or not. A 4-person meeting uses 4 sessions at once.
  • Rotation. OpenAI ends a session after 60 minutes, so CoderFlow starts a fresh one after about 55 minutes, at a pause in speech, with the old and new sessions overlapping for up to a minute. Anything lost in a hand-over or a reconnect is marked in the timeline as a gap, never filled in.
  • Server limits. The server runs at most 8 transcription sessions at once, counting meetings, editor dictation and Ask CoderFlow voice together, plus 4 slots kept for rotations; one person has one meeting session at a time across all rooms and devices. Beyond that, a new session is refused: that person's speech isn't transcribed and is marked as a gap, and the meeting goes on. They see Transcription is busy on this server right now. The meeting continues without your transcript; it will retry., which says nothing about other people or how many sessions are running. A participant's transcription retries at most 3 times a minute, and not at all after a quota or access error.
  • Errors from OpenAI. If the account runs out of credit or loses access, transcription stops and participants see that an administrator needs to check OpenAI billing or API access. The meeting continues.

Spoken answers. When CoderFlow answers a spoken question out loud, the server sends the answer's text to OpenAI for speech, then streams the audio to the participants' browsers, which play it themselves. Up to 900 characters of an answer are read aloud; the rest stays text. Finished speech is kept in memory for up to 10 minutes so that every participant can play it, and is never written to disk. The server makes at most 2 syntheses at a time and 60 in 10 minutes, and a meeting at most 12 in 10 minutes. After a quota, rate-limit or access error from OpenAI, the server stops synthesising speech for 5 minutes; answers stay text.

Cost. Transcription is billed by OpenAI for each participant's session, so a transcribed meeting costs roughly its length times the number of people in it. Speech is billed per answer read aloud. Both go to the server's OpenAI account, separately from any subscription.

CoderFlow in meetings​

CoderFlow's answers (to @CoderFlow in chat and to spoken questions), its meeting summaries and the personal catch-up recap use the Utility AI (Server Settings → Models → Utility AI; listed there as Room answers and Meeting summaries). Without it, rooms and meetings work, the asker is told that CoderFlow can't answer, and the summary is a short factual one (how long, how many people) that says why.

For answers and summaries, CoderFlow sends the Utility AI only what everyone who can read the room can see: the question, the room's recent lines (up to 60 for an answer, 400 for a summary), and for answers the canvas's plan as names and statuses. The transcript of a meeting started with CoderFlow joins off, and replies to its lines (in a thread or not), are left out of answers, summaries, the automatic cards and catch-up recaps.

A catch-up recap is different in one way: it is built from the unread entries the person asking can see, as their own room panel shows them, up to 200 lines, so it isn't limited to what every reader can see. It still never sends transcript lines of meetings started with CoderFlow joins off, replies to them (also in their threads), or cards and answers built from them, in any form: the recap tells the person how many such entries it didn't summarise, in fixed text, and those entries stay unread. The recap is shown only to that person and never stored.

Limits, so that no one can run up the Utility AI bill:

FeatureLimit
AnswersOne at a time per room with up to 3 waiting; 20 per room and 6 per person (across all rooms, typed and spoken together) in 10 minutes; one spoken question per person every 20 seconds; 120 per server in 10 minutes, 4 at a time
Meeting summaries10 an hour per person who started meetings, 60 an hour per server; beyond that, the factual summary
Catch-up recaps10 per person in 10 minutes

Rings outside the app​

A ring always shows in the rung person's open CoderFlow tabs. It is also sent through the channels each person turns on under Profile → Notifications → Meeting rings (see Per-user notification preferences), each with its own prerequisite:

ChannelDefaultNeeds
Browser notificationOnWeb Push (VAPID) configured, and notifications turned on in the person's browser
EmailOffSMTP configured, the server's public URL (site_url) for the link, and an email address on the person's profile
Slack direct messageOffThe Slack integration, the server's public URL (site_url) for the link, and the person's Slack account linked with /coderflow link

A ring carries only who is calling, the room's name and a link that opens the room with its Join prompt. Access to the room is checked again before each send, so someone who can no longer read the room gets nothing. A push ring expires after 60 seconds. Email and Slack are skipped when one of the person's open tabs already shows the ring. Microsoft Teams cannot deliver rings: the Teams integration can only reply in the conversation a task started from, not message a person directly.

Quick meetings​

Quick meetings are meetings without an objective, visible only to their participants: the person who started it, everyone rung or invited, and everyone who joined. Roles grant no access to them: an administrator who is not a participant cannot see one. A quick meeting has no plan until someone files it to a team canvas's room, so CoderFlow's answers in it draw only on its own lines.

An unfiled quick meeting is erased, with its chat, transcript and attachments, a number of days after its last activity: 7 by default, from 1 to 90, never while a meeting is running in it. Set it in Server Settings → Rooms and meetings → Quick-meeting expiry with Delete unfiled quick meetings after (days) (see Rooms: retention and privacy); it is also quickMeetingDays in GET/PUT /settings/rooms. One person can start up to 10 quick meetings an hour and have up to 20 unfiled ones; a quick meeting has up to 50 participants. Until it is filed, a quick meeting follows the server's retention defaults (see Rooms: retention and privacy).

What is stored, and what isn't​

Questions administrators are often asked:

  • Is anything recorded? No. No participant's audio or video is stored, on the server or anywhere else CoderFlow controls, and there is no recording feature. The only audio the server holds is CoderFlow's own spoken answers, in memory for up to 10 minutes, never on disk.
  • Does media pass through the server? Participants' media doesn't. Audio, video and shared screens go directly between browsers, encrypted end to end. A TURN server, when used, only forwards encrypted packets it cannot decode. For transcription, each browser sends its own audio to OpenAI. CoderFlow's spoken answers are the exception: the server sends the answer's text to OpenAI, receives the synthesised audio and streams it to each participant's browser, which plays it.
  • What is stored? In the room: the transcript lines, gap markers, the notices that a meeting started and ended (with who took part and how long it lasted), CoderFlow's cards, answers and meeting summaries, and the chat. They follow the room's retention: transcript lines the transcript limit (90 days by default), everything else the chat limit (see Rooms: retention and privacy). The room also keeps a record of each meeting: when it started and ended, who started it and who joined, and whether it was transcribed and CoderFlow joined.
  • What is never stored? The live words shown while someone speaks, cursors, who is presenting or sharing, catch-up recaps, and spoken answers (kept in memory for up to 10 minutes only). Who is connected right now is held in memory and lost when the server restarts, which ends any running meeting.
  • What is logged? For connection problems, the server logs only the kinds of network path a browser tried and error codes, never IP addresses or connection details. The TURN shared secret and the credentials made from it are never logged.
  • Who can see a meeting? The people who can read the room: for a team canvas, everyone who can see its objective; for a quick meeting, its participants. All of them can join its meetings: objectives can't be shared view only, so nobody reads a room in a redacted form. Access is checked when someone joins and continuously after; someone who loses access leaves the meeting at once and receives nothing more from it.
  • Does "CoderFlow joins" off keep a meeting from the Utility AI? Yes: from CoderFlow's cards, answers, summaries and personal catch-up recaps, also after a quick meeting is filed to a team canvas (see CoderFlow in meetings). Transcription itself is a separate choice (Transcribe this meeting).