Skip to main content

Video Visit


Available controls and session actions derive from device capability and session state.


Video appointment screen showing patient video, controls, and session timer

This screen includes:

#ElementDescription
1Video roomDisplays the active video consultation.
2Participant videoShows the local or remote participant stream.
3Session timerDisplays call duration.
4Mute actionToggles microphone audio.
5Disable video actionToggles the local camera stream.
6Swap camera actionSwitches the active camera.
7End call actionEnds the video session.
8Report issue actionOpens the issue reporting flow.

Workflow

  1. Open the scheduled video appointment.
  2. Load the video room.
  3. Request camera and microphone permissions when required.
  4. Start the video session.
  5. Use call controls during the consultation.
  6. End the call or report an issue.

Session States

StateDescription
waitingWaiting for the video session or participant.
activeVideo session is active.
reconnectingConnection retry is in progress.
endedVideo session ended.
errorVideo session is unavailable.

Validations

ScenarioApp behaviorSDK output
Appointment missingBlock video room loaderror = appointment_required
Camera permission missingRequest or block camera accesserror = camera_permission_required
Microphone permission missingRequest or block microphone accesserror = microphone_permission_required
Network unavailableBlock session connectionerror = network_unavailable
Connection interruptedStart reconnection statestate = reconnecting
Camera switch unavailableHide or disable swap camera actioncamera = unsupported
Session endedDisable call controlsstate = ended
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp behaviorSDK output
Video room opensLoad video consultation screenPUT /api/v3/appointments/{appointment-id}/video-room
Call startsInitialize video sessionsession = started
Mute selectedToggle microphoneaudio = updated
Disable video selectedToggle camera streamvideo = updated
Swap camera selectedSwitch active cameracamera = updated
End call selectedTerminate video sessionstate = ended
Report issue selectedOpen issue reporting flownavigation = report_issue

Endpoint Resources

Video Visit

PUT 

v3/appointments/{appointment-id}/video-room

Returns the video room screen for a scheduled video consultation.

UI Element Types

LevelReferenceTypeValuePlacement
1start-callButtonStart call
1end-callLinkEnd call~
1report-issueLinkReport issue~
1swap-cameraLinkSwap camera~
1disable-videoLinkDisable video~
1muteLinkMute~
1spacerSpacer~