Welcome to the new Daily Docs. Please let us know what you think.

Configuration

Many room configuration fields are also available as meeting token fields. If a configuration field is set for both the room and the user's token, then the token setting takes precedence.

room_name
string

The room for which this token is valid. If room_name isn't set, the token is valid for all rooms in your domain. *You should always set room_name if you are using this token to control access to a meeting.

Default: <not set>
eject_at_token_exp
boolean

Kick this user out of the meeting at the time this meeting token expires. If either this property or eject_after_elapsed are set for the token, the room's eject properties are overridden.

See an example in our advanced security tutorial.

Default: false
eject_after_elapsed
integer

Kick this user out of the meeting this many seconds after they join the meeting. If either this property or eject_at_token_exp are set for the token, the room's eject properties are overridden.

See an example in our advanced security tutorial.

Default: <not set>
nbf
integer

"Not before". This is a unix timestamp (seconds since the epoch.) Users cannot join a meeting in with this token before this time.

Default: <not set>
exp
integer

"Expires". This is a unix timestamp (seconds since the epoch.) Users cannot join a meeting with this token after this time.

More resources:

is_owner
boolean

The user has meeting owner privileges. For example, if the room is configured for owner_only_broadcast, this user can send video, and audio, and can screenshare.

Default: false
user_name
string

The user's name in this meeting. The name displays in the user interface when the user is muted or has turned off the camera, and in the chat window. This username is also saved in the meeting events log (meeting events are retrievable using the analytics API methods.)

Default: <not set>
user_id
string

The user's id for this meeting session. This id is retrievable using the meetings API. You can use user_id to map between your user database and meeting events/attendance. *The id does not display in our standard in-call UI during the call.

max length 36 chars

Default: <not set>
enable_screenshare
boolean

The user is allowed to screenshare.

Default: true
start_video_off
boolean

When a participant first joins a meeting, keep their camera off.

Default: false
start_audio_off
boolean

When a participant first joins a meeting, keep their microphone muted.

Default: false
enable_recording
string

Jump to recording docs.

For more on rtp-tracks, see our blog post about server-side recording.

Note: If you’re planning to use output-byte-stream, you must monitor recording-data events.

Options: "cloud","local","rtp-tracks","output-byte-stream","<not set>"
Default: <not set>
start_cloud_recording
boolean

Start cloud recording when the user joins the room. This can be used to always record and archive meetings, for example in a customer support context.

Default: false
close_tab_on_exit
boolean

(For meetings that open in a separate browser tab.) When a user leaves a meeting using the button in the in-call menu bar, the browser tab closes. This can be a good way, especially on mobile, for users to be returned to a previous website flow after a call.

Default: false
redirect_on_meeting_exit
string

(For meetings that open in a separate browser tab.) When a user leaves a meeting using the button in the in-call menu bar, the browser loads this URL. A query string that includes a parameter of the form recent_call=<domain>/<room> is appended to the URL. On mobile, you can redirect to a deep link to bring a user back into your app.

Default: <not set>
lang
string

The default language of the Daily prebuilt video call UI, for this room.

Setting the language at the token level will override any room or domain-level language settings you have.

Read more about changing prebuilt UI language settings.

* Norwegian is only available in the new Daily Prebuilt

Options: "en","de","fi","fr","nl","pt","pl","sv","es","tr","it","ka","jp","no*","user"
Default: "en"