Overview
The Customer App is a lightweight static web application deployed as an Azure Static Web App. It serves two purposes:
- Test harness - provides a one-click button to generate random test video sessions
- Future citizen entry point - placeholder for a direct browser-based video experience
Current functionality
Section titled “Current functionality”The app currently provides a “Initiate Test Session” button that:
- Fetches a random name from the randomuser.me API
- Generates a random session UUID
- Opens the Pexip WebApp in a new window with the session parameters
This allows developers and testers to simulate citizen video sessions without needing the BCSC mobile app.
Connection parameters
Section titled “Connection parameters”| Parameter | Value |
|---|---|
| Conference node | maximus-pexip-conference-01.test.vc.maxconf.ca |
| Conference prefix | sc (simulated citizen) |
| PIN | 1234 (local policy PIN) |
| Conference alias | sc + random UUID |
| Display name | Random first initial + last name + random ID |
How production citizens connect
Section titled “How production citizens connect”In production, citizens do not use this app. The BCSC mobile app:
- Calls the IDIM Video API, which calls
POST /room/createon MaxConf - Receives a room alias and guest PIN
- Connects directly to the Pexip Conference Node using the Pexip WebApp URL:
https://conference.vc.maxconf.ca/webapp/#/?conference={alias}&name={name}&pin={guest_pin}Technology
Section titled “Technology”- Single HTML file with inline JavaScript (no build step)
- Deployed to Azure Static Web App
- No server-side logic
- Uses the Pexip WebApp (
/webapp/#/) rather than embedding PexRTC directly
Deployment
Section titled “Deployment”The Static Web App configuration is in staticwebapp.config.json. The app is deployed via Azure DevOps pipeline alongside the Agent App.