wx calls
此内容尚不支持你的语言。
Observe calls or use this computer’s microphone, speakers and camera
wx calls answer
Answer the current offer using this computer’s microphone, speakers and optional camera
| Argument or flag | Takes | What it does |
|---|---|---|
<CALL_ID> | position 1 | Incoming call ID to answer; omit to answer the current offer |
--camera | takes <CAMERA> | Local camera source for video calls: auto, off, test, file:PATH, or a device path |
--camera-off | switch | Start video calls with the camera turned off; toggle with v before or during the call |
--input-device | takes <INPUT_DEVICE> | Local backend source name or endpoint ID; defaults to the OS microphone |
--muted | switch | Start with the microphone muted; toggle with m before or during the call |
--output-device | takes <OUTPUT_DEVICE> | Local backend sink name or endpoint ID; defaults to the OS speakers |
wx calls conference
Start or join a voice or video conference with local devices and participant meters
wx calls conference join
Join a current invitation for this group; never creates a room
| Argument or flag | Takes | What it does |
|---|---|---|
<GROUP> | position 1, required | Group ID, ending in @chatroom, that has a current conference invitation |
--camera | takes <CAMERA> | Local camera source: auto, off, test, file:PATH, or a device path |
--camera-off | switch | Start with the camera turned off; toggle with v during the call |
--input-device | takes <INPUT_DEVICE> | Local backend source name or endpoint ID; defaults to the OS microphone |
--muted | switch | Start with the microphone muted; toggle with m during the call |
--output-device | takes <OUTPUT_DEVICE> | Local backend sink name or endpoint ID; defaults to the OS speakers |
--video | switch | Enable video for this call (camera and microphone start on unless overridden) |
wx calls conference start
Start a group voice or video conference; use i inside the call for later invitations
| Argument or flag | Takes | What it does |
|---|---|---|
<GROUP> | position 1, required | Group ID, ending in @chatroom, to start the conference in |
--camera | takes <CAMERA> | Local camera source: auto, off, test, file:PATH, or a device path |
--camera-off | switch | Start with the camera turned off; toggle with v during the call |
--input-device | takes <INPUT_DEVICE> | Local backend source name or endpoint ID; defaults to the OS microphone |
--invite | required, takes <INVITEES>, repeatable | Contact ID to invite; repeat for several |
--muted | switch | Start with the microphone muted; toggle with m during the call |
--output-device | takes <OUTPUT_DEVICE> | Local backend sink name or endpoint ID; defaults to the OS speakers |
--video | switch | Enable video for this call (camera and microphone start on unless overridden) |
wx calls devices
List local microphone, speaker and camera devices without connecting to a daemon
wx calls dial
Call one contact using this computer’s microphone, speakers and optional camera
| Argument or flag | Takes | What it does |
|---|---|---|
<CONTACT> | position 1, required | Contact ID to call, from wx contacts list |
--camera | takes <CAMERA> | Local camera source: auto, off, test, file:PATH, or a device path |
--camera-off | switch | Start with the camera turned off; toggle with v during the call |
--input-device | takes <INPUT_DEVICE> | Local backend source name or endpoint ID; defaults to the OS microphone |
--muted | switch | Start with the microphone muted; toggle with m during the call |
--output-device | takes <OUTPUT_DEVICE> | Local backend sink name or endpoint ID; defaults to the OS speakers |
--video | switch | Enable video for this call (camera and microphone start on unless overridden) |
wx calls monitor
Wait for incoming voice or video calls. With —json, observe only without local devices
| Argument or flag | Takes | What it does |
|---|---|---|
--camera | takes <CAMERA> | Local camera source for video calls: auto, off, test, file:PATH, or a device path |
--camera-off | switch | Start video calls with the camera turned off; toggle with v before or during the call |
--input-device | takes <INPUT_DEVICE> | Local backend source name or endpoint ID; defaults to the OS microphone |
--muted | switch | Start with the microphone muted; toggle with m before or during the call |
--output-device | takes <OUTPUT_DEVICE> | Local backend sink name or endpoint ID; defaults to the OS speakers |
wx calls session
Run and drive headless call sessions with synthetic media, event waits, recording and inspection
wx calls session answer
Answer the current incoming direct call offer in a running session
| Argument or flag | Takes | What it does |
|---|---|---|
<CALL_ID> | position 1 | Incoming call ID to answer; omit to answer the current offer |
--audio | takes <AUDIO> | Override the outgoing audio source for this call |
--camera-off | switch | Start a video call with the camera turned off |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--muted | switch | Start with the microphone muted |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--video-source | takes <VIDEO_SOURCE> | Override the outgoing video source for this call |
wx calls session audio
Switch the outgoing audio source (silence, tone:…, file:…, device[:ID]) live
| Argument or flag | Takes | What it does |
|---|---|---|
<SOURCE> | position 1, required | Outgoing audio source specification |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session camera
Turn the local camera on or off during a video call
| Argument or flag | Takes | What it does |
|---|---|---|
<STATE> | position 1, required, values on|off | Desired camera state: on or off |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session clear-audio
Clear queued outgoing audio and advance the send audio track generation
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session clear-video
Clear queued outgoing video without turning the camera off and advance the send video track generation
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session conference
Start, join, or invite contacts into a group conference from a running session
wx calls session conference invite
Invite one or more contacts into the session’s active conference
| Argument or flag | Takes | What it does |
|---|---|---|
<CONTACTS> | position 1, required, repeatable | Contact IDs to invite into the active conference |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session conference join
Join a current conference invitation for a group from a running session
| Argument or flag | Takes | What it does |
|---|---|---|
<GROUP> | position 1, required | Group ID, ending in @chatroom, with an active conference invitation |
--audio | takes <AUDIO> | Override the outgoing audio source for this call |
--camera-off | switch | Join with the camera turned off even when —video is passed |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--invitation-id | takes <INVITATION_ID> | Exact invitation ID when more than one invitation exists for the group |
--muted | switch | Start with the microphone muted |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--video | switch | Enable video when joining the conference |
--video-source | takes <VIDEO_SOURCE> | Override the outgoing video source for this call |
wx calls session conference start
Start a group voice or video conference from a running session
| Argument or flag | Takes | What it does |
|---|---|---|
<GROUP> | position 1, required | Group ID, ending in @chatroom, to start the conference in |
--audio | takes <AUDIO> | Override the outgoing audio source for this call |
--camera-off | switch | Start a video conference with the camera turned off |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--invite | required, takes <INVITEES>, repeatable | Contact ID to invite; repeat for several |
--muted | switch | Start with the microphone muted |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--video | switch | Start a video conference instead of voice-only |
--video-source | takes <VIDEO_SOURCE> | Override the outgoing video source for this call |
wx calls session dial
Place a direct voice or video call from a running session
| Argument or flag | Takes | What it does |
|---|---|---|
<CONTACT> | position 1, required | Contact ID to call, from wx contacts list |
--audio | takes <AUDIO> | Override the outgoing audio source for this call |
--camera-off | switch | Start a video call with the camera turned off |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--muted | switch | Start with the microphone muted |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--video | switch | Start a video call instead of a voice call |
--video-source | takes <VIDEO_SOURCE> | Override the outgoing video source for this call |
wx calls session events
Read buffered session events or follow live events as NDJSON
| Argument or flag | Takes | What it does |
|---|---|---|
--after | takes <AFTER>, default 0 | Return only events with sequence number strictly greater than this value |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--follow | switch | Keep streaming new events as NDJSON lines until interrupted or the session stops |
--limit | takes <LIMIT>, default 200 | Maximum number of buffered events to return when not following |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session hangup
Cancel or hang up the session’s active owned call and wait for terminal cleanup
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session keyframe
Request a remote video keyframe from the daemon
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--track | takes <TRACK> | Receive video track ID; omit to request on every active receive video track |
wx calls session list
List local call sessions and report whether each is running
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Parent directory containing named session folders; defaults to the standard runtime folder |
wx calls session mute
Mute the local microphone and notify the peer or conference
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session ready
Enable or disable readiness for incoming offers and conference invitations
| Argument or flag | Takes | What it does |
|---|---|---|
<STATE> | position 1, required, values on|off | Desired readiness state: on or off |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session record
Start or stop recording call audio and video streams
wx calls session record start
Start recording TX/RX WAV audio and RX video for the active call
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--out | takes <OUT> | Output directory for recordings; defaults to a timestamped folder inside the session directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session record stop
Stop recording and finalize WAV headers, video remuxing and manifest.json
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session reject
Reject the current incoming direct call offer in a running session
| Argument or flag | Takes | What it does |
|---|---|---|
<CALL_ID> | position 1 | Incoming call ID to reject; omit to reject the current offer |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session run
Run a headless call session in the foreground, optionally driven over NDJSON stdin/stdout
| Argument or flag | Takes | What it does |
|---|---|---|
--audio | takes <AUDIO>, default silence | Outgoing audio source: silence, tone[:HZ[:AMP[:ON_MS:OFF_MS]]], file:PATH[:loop|:once], or device[:ID] |
--dir | takes <DIR> | Explicit private directory for this session’s socket, event log, snapshots and recordings |
--exit-with-parent | switch | Stop gracefully when the parent process that started this foreground session exits |
--idle-timeout | takes <IDLE_TIMEOUT>, default 600 | Stop automatically after this many idle seconds with no active call or commands (0 disables) |
--name | takes <NAME>, default default | Session name used to address this session from other wx calls session commands |
--no-ipc | switch | Disable the local IPC socket (for isolated —stdio runs) |
--output | takes <OUTPUT>, default null | Incoming audio sink: null (headless metering/recording only) or device[:ID] |
--ready | switch | Advertise call readiness immediately so incoming direct offers and conference invitations arrive |
--receive-video-codec | takes <RECEIVE_VIDEO_CODEC>, default jpeg, values jpeg|h265|h264 | Preferred incoming video codec: jpeg (decoded RGB inspection/snapshots), h265, or h264 |
--record-dir | takes <RECORD_DIR> | Automatically record each call’s TX/RX WAV audio and RX video into this directory |
--snapshot-interval | takes <SNAPSHOT_INTERVAL>, default 0 | Periodically save decoded remote video snapshots every N milliseconds (0 disables) |
--stats-interval | takes <STATS_INTERVAL>, default 1000 | Emit media.stats events every N milliseconds while media is attached (0 disables) |
--stdio | switch | Read NDJSON commands from stdin and emit NDJSON events and replies on stdout |
--video | takes <VIDEO>, default test | Outgoing video source: test, smpte, color:NAME|#RRGGBB, file:PATH, off, auto, or a device path |
wx calls session snapshot
Save the latest decoded remote video frame(s) to JPEG or PNG for visual inspection
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--out | takes <OUT> | Output image file path (.jpg or .png) or directory; defaults to the session snapshots folder |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--track | takes <TRACK> | Receive video track ID; omit to snapshot all decoded remote video tracks |
wx calls session start
Start a detached headless call session in the background and wait until ready
| Argument or flag | Takes | What it does |
|---|---|---|
--audio | takes <AUDIO>, default silence | Outgoing audio source: silence, tone[:HZ[:AMP[:ON_MS:OFF_MS]]], file:PATH[:loop|:once], or device[:ID] |
--dir | takes <DIR> | Explicit private directory for this session’s socket, event log, snapshots and recordings |
--idle-timeout | takes <IDLE_TIMEOUT>, default 600 | Stop automatically after this many idle seconds with no active call or commands (0 disables) |
--name | takes <NAME>, default default | Session name used to address this session from other wx calls session commands |
--output | takes <OUTPUT>, default null | Incoming audio sink: null (headless metering/recording only) or device[:ID] |
--ready | switch | Advertise call readiness immediately so incoming direct offers and conference invitations arrive |
--receive-video-codec | takes <RECEIVE_VIDEO_CODEC>, default jpeg, values jpeg|h265|h264 | Preferred incoming video codec: jpeg (decoded RGB inspection/snapshots), h265, or h264 |
--record-dir | takes <RECORD_DIR> | Automatically record each call’s TX/RX WAV audio and RX video into this directory |
--snapshot-interval | takes <SNAPSHOT_INTERVAL>, default 0 | Periodically save decoded remote video snapshots every N milliseconds (0 disables) |
--stats-interval | takes <STATS_INTERVAL>, default 1000 | Emit media.stats events every N milliseconds while media is attached (0 disables) |
--video | takes <VIDEO>, default test | Outgoing video source: test, smpte, color:NAME|#RRGGBB, file:PATH, off, auto, or a device path |
wx calls session status
Show the session’s current call state, offers, peer status, controls and live media metrics
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session stop
Stop a running headless call session cleanly
| Argument or flag | Takes | What it does |
|---|---|---|
<NAME> | position 1, default default | Session name to stop (defaults to “default”) |
--dir | takes <DIR> | Explicit private session directory to stop instead of resolving by name |
--no-hangup | switch | Disconnect without first hanging up any active owned call |
--timeout | takes <TIMEOUT>, default 65 | Seconds to wait for the session process to exit (1 to 120) |
wx calls session unmute
Unmute the local microphone and notify the peer or conference
| Argument or flag | Takes | What it does |
|---|---|---|
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session video
Switch the outgoing video source (test, smpte, color:…, file:…, off, auto, device) live
| Argument or flag | Takes | What it does |
|---|---|---|
<SOURCE> | position 1, required | Outgoing video source specification |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
wx calls session wait
Block until a matching call event or media threshold is observed, or fail on timeout
| Argument or flag | Takes | What it does |
|---|---|---|
--after | takes <AFTER>, default 0 | Only consider events with sequence number strictly greater than this value |
--audio-frames | takes <AUDIO_FRAMES> | Wait until received audio frame count reaches at least this value |
--call-id | takes <CALL_ID> | Restrict matching to events for this call ID |
--camera | takes <CAMERA>, values true|false | Match participant.updated events where cameraEnabled equals this value |
--control-kind | takes <CONTROL_KIND>, values microphone|camera | Match call.control events with this control kind (microphone or camera) |
--control-value | takes <CONTROL_VALUE>, values true|false | Match call.control events with this muted/enabled boolean value |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--dominant-hz | takes <DOMINANT_HZ> | Wait until received audio dominant tone frequency is within —hz-tolerance of this Hz value |
--event | takes <EVENTS>, repeatable | Match events whose type equals one of these values (repeatable) |
--group | takes <GROUP> | Match conference.invitations events containing an invitation for this group ID |
--hz-tolerance | takes <HZ_TOLERANCE>, default 25 | Frequency tolerance in Hz used with —dominant-hz |
--membership | takes <MEMBERSHIP>, values invited|joined|left|unknown | Match participant.updated events with this membership (invited, joined, left, unknown) |
--mic | takes <MIC>, values true|false | Match participant.updated events where microphoneEnabled equals this value |
--min-rms-db | takes <MIN_RMS_DB> | Wait until received audio RMS level reaches at least this dBFS value (e.g. -35) |
--participant | takes <PARTICIPANT> | Match participant.updated, call.control, or call.peer_status for this participant or contact ID |
--participant-status | takes <PARTICIPANT_STATUS>, values undefined|joined|invited|acknowledged|left|cancelled|busy|rejected|no_response|unknown | Match participant.updated events with this status kind |
--peer-status | takes <PEER_STATUSES>, repeatable, values undefined|joined|invited|acknowledged|left|cancelled|busy|rejected|no_response|unknown | Match call.peer_status events reaching one of these kinds (repeatable) |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--state | takes <STATES>, repeatable, values offered|dialing|ringing|connecting|connected|ending|ended|uncertain | Match call.state events reaching one of these states (repeatable) |
--timeout | takes <TIMEOUT>, default 30 | Seconds to wait before failing with a timeout error |
--track | takes <TRACK> | Restrict —audio-frames, —min-rms-db, —dominant-hz, or —video-frames to this track ID |
--video-frames | takes <VIDEO_FRAMES> | Wait until received video frame count reaches at least this value |
wx calls session watch
Say whether you watch the other side’s video; watching is on when a call starts
| Argument or flag | Takes | What it does |
|---|---|---|
<STATE> | position 1, required, values on|off | Desired state: on or off |
--dir | takes <DIR> | Explicit private session directory instead of the default runtime directory |
--session | takes <SESSION>, default default | Named session to target (defaults to “default”) |
--track | takes <TRACK> | Receive video track ID; omit to apply to every track, including later ones |
wx calls status
Read the daemon’s current call state and exit