The build lockfile now uses node-forge 1.4.3, including the fix for CVE-2026-119192 and related Forge advisories. This dependency is used by the local HTTPS development certificate helper. It is absent from the shipped browser app; rebuilding with the patched tree reproduces all 22 existing static files byte for byte. No PHP behavior or streaming-server update is part of this patch.
Run npm ci in source/, then npm run test:security-dependencies and the existing auth/layout tests before building. The new check rejects malformed RSA DigestInfo encodings while accepting canonical encodings, and verifies that the certificate helper still serves HTTPS with explicit local CA validation. Compatible create-ecdh, shell-quote and loader-utils fixes are also locked.
Full npm audit still reports 173 legacy build-tool findings (including inherited critical findings); the production dependency audit reports zero. These are separate results, not a clean full-tree claim. The remaining CRA/Gulp toolchain needs modernization. See security maintenance and remaining work.
The bundled HTML5 Videochat app is built from source dated 2026.11.17. The older recorder remains a compatibility example. For small group meetings use Video Conference; for webcam, microphone, screen capture and download-only recording use the current recorder. Neither requires Flash.
PHP 8.2+, Fileinfo, mbstring, HTTPS and PHP sessions are required. The example now validates a random browser session secret for every app request. Room roles come from the server session; knowing a room/user ID does not grant broadcaster access. State is stored outside the web root, and account tokens stay on the PHP host. Chat is bounded and recordings have randomized filenames, MIME/size checks, a 25 MB file limit, 100 MB/20 files per booth and 500 MB total upload quota. This remains a public developer demo, without a member/billing system. Accepted recordings are public to visitors with a booth or file URL; use synthetic test content only.
Set VWH5_SOCKET, VWH5_ACCOUNT and VWH5_TOKEN on the PHP host. The account token must never be placed in JavaScript, a public JSON file or this repository. Alternatively set VWH5_CONFIG to an operator-owned PHP file outside the document root that returns an options array containing vwsSocket, vwsAccount and vwsToken. settings.php contains safe defaults, not deployment credentials. Set VWH5_STORAGE_DIR to a private directory outside the web root; its default is a per-installation private temporary directory. Protect it with owner-only permissions and use a persistent location on public deployments.
In the streaming account, set the login callback to this installation's HTTPS socket-auth.php URL. The callback authenticates the server's private token and checks a five-minute, user-bound PIN. The React client renews through task=socket_auth after authenticating the browser session. Configure separate accounts for unrelated installations. uploads/.htaccess disables indexes, executable content and access to historical session/chat files; configure equivalent rules on non-Apache hosts. Also configure edge rate/connection limits and PHP post_max_size/upload_max_filesize consistently with the application limit.
Visitor page views no longer delete files. Schedule php clean_older.php --days=1 using the PHP account. It deletes only expired randomized recordings created by the new uploader, skips symlinks and preserves historical filenames. Review older media separately before migrating or deleting it.
Run python3 tests/smoke.py before publishing; it starts a loopback PHP fixture with synthetic credentials and private temporary storage. The checks cover sessions, guest/owner access, callback rejection, chat and private state. Then test two browser contexts with fake or consented devices, recording upload/playback where applicable, and the host's HTTPS/TURN configuration. Physical devices and separate networks need manual checks.
Human-readable React source, dependency lockfile and build scripts for the bundled assets are in source/. Use Node 22.12+; in that directory run npm ci, npm run build, npm test and npm audit. Replace only generated static/js, static/css and referenced media, keeping license notices. Vite 7.3 replaces the legacy CRA/Webpack build chain; the full dependency audit, including development tools, passed with zero findings on 2026-11-17. Keep development tools on loopback. See source/README.md for the classic-script build contract and release checks.
Publishing uses an explicit runtime/source allowlist. Exclude .env*, editor/SFTP settings, private configuration, uploads, logs, recordings, tests results and dependency folders. Back up the installed runtime and private configuration first, upload the tested assets and PHP files together, verify the version banner and test login/chat/media, and restore the previous runtime if verification fails. Never synchronize customer recordings or delete historical media during an update.
Before installing, test the simple setup in the live demos above.
This plain php edition includes code and minimal scripts to embed the HTML5 Videochat app and test/showcase basic features. This edition is for integrating/using application with own scripts/framework/database. This edition showcases 2 way videocalls. For a complete implementation of advanced capabilities, see Turnkey HTML5 Videochat Site edition, available as WordPress plugin with full php source. The turnkey site edition implements pay per minute videochat (group and private 2 way video calls) with membership, billing, advanced tools.
- Automatically create a room as caller and show link to invite client
- Embed the Video Call - HTML5 Videochat app to run with basic 2 way video chat features
Warning: some of these features are not active/implemented in this simplified edition, but can be enabled as in turnkey site edition.
- WebRTC 2 way video call
- P2P streaming using VideoWhisper WebRTC signaling server + STUN/TURN
- WebRTC relayed streaming (reliable and scalable to many clients from streaming server, independent of broadcaster upload connection)
- video/audio recorder, emoticons, mentions in text chat
- fullscreen for videochat interface or playback video
- adaptive target video bitrate (depending on cam resolution) and configuration in resolution change
- broadcasting/playback stats (open controls and stats should show in few seconds)
- dark mode / lights on: each user can toggle interface mode live at runtime, SFX (sound effects)
- live wallet balance display (updates from tips and other transfers)
- tips with multiple customizable options, gift images
- translation, text change support
Before installing, make sure your have a supported live streaming server: Wowza SE as HTML5 WebRTC streaming relay and/or the VideoWhisper WebRTC signaling server. Production implementations should also involve Session Control for security and website integration (like list of live channels). For testing, get a free plan from Free WebRTC Host: P2P.
- Configure WebRTC + SSL with Wowza SE or the VideoWhisper WebRTC + STUN/TURN server.
- Deploy files to your web installation location. (Example: yoursite.domain/html5-videochat/)
- Fill your streaming settings in settings.php file
- Give the PHP account ownership of its private state directory (0700). Public recording files use 0755 directories and 0644 files; do not use world-writable permissions.
- The plain php edition refers to minimal scripts for configuring and accessing videochat room, so developers can integrate with own scripts.
- Plain php edition does not involve database and systems to manage members, rooms, billing. These depend on framework you want to integrate, plugins, database, member system.
- Applications reads parameters, wallet balance and other data with ajax calls from framework/integration scripts (that need to be implemented depending on framework, database, user scripts).
- A complete implementation of features is available for WordPress framework. See Turnkey HTML5 Videochat Site edition, available as WordPress plugin with full php source. Includes user role management (performers/clients), pay per minute, integrates billing wallets.
- This plain edition implements 2 way videocall with broadcast / playback.
- Setup starts in demo mode, to prevent high resource usage by visitors. To enable and confirm full mode you need to fill application version in modeVersion parameter. Consult VideoWhisper for assistance or a turnkey site setup.
- index.php embeds the html5 application: accessed directly creates a room and shows room link to invite others
- app-call.php is called by application to retrieve parameters, interact with web server, update status and chat (ajax calls)
- app-functions.php functions implementing features for app-call.php , including translated texts, app settings
- settings.php settings and options, including streaming settings and url for calls (when integrating with own framework)
Scripts also contain comments for clarifications/suggestions.
This is a simple setup showcasing easy app deployment and integration with other PHP scripts. For a quick setup, see VideoWhisper Turnkey Stream Hosting Plans that include requirements for all features and free installation.
- Video Call - HTML5 Videochat - GitHub
- Live Streaming - HTML5 Videochat - GitHub
- Cam/Mic Recorder HTML5 - GitHub
- PaidVideochat Turnkey Site - WordPress
- Video Calls & Random Chat Turnkey Site - WordPress
- WebRTC Signaling Server
Consult VideoWhisper for commercial services like turnkey site platforms, compatible hosting, custom development services.
