# StageLink 0.1.9 Published by **DeepRoot Software Labs**. A local screen and camera hub for Windows live-production computers. Phones join in their existing browser. One output always shows exactly one source. ## Session links and shared Link panel The host generates a new join link each time it starts. Cameras and shared screens keep their saved names, source numbers and output assignments, but all StageLink join, publisher and viewing credentials expire on restart. Use **Copy link** to create a fresh read-only source or output link. Join the server from any crew computer and open **Link panel**. Press **Refresh** to list current cameras, shared screens, routed outputs and EZ Presenter computers. The panel loads once when opened and refreshes only when requested. Each source/output Copy action creates a separate viewing link. The panel never changes routing or starts media automatically. EZ Presenter 0.2.14 or later discovers a running StageLink server on the same LAN and registers its full-output and green-screen lyric URLs when its LAN outputs are started. On the LIVE computer, open the Link panel, press Refresh, and copy the desired URL into a browser or OBS Browser Source. Availability checks run only during Refresh. EZ outputs stream directly from the EZ computer, so it must remain reachable. StageLink does not relay or transcode EZ video. Local discovery uses mDNS. The network must allow multicast and device-to-device traffic; guest Wi-Fi/client isolation can prevent discovery. No router, Windows firewall or system certificate settings are changed automatically. Browser camera links still require the displayed first-use certificate setup. Keep crew join links private: joined crew can read the link directory, while individual scoped viewing links cannot. Back up source/output assignments and certificates privately. Old permanent-link credentials are no longer used. Personal media and host profiles must never be included in public releases. ## Language / 语言 / 語言 Choose **Language / 语言 → English / 简体中文 / 繁體中文** at the top of the home screen, control room, sender or receiver. Windows saves the choice for the next launch and updates all its StageLink windows. Changing the language during transmission keeps the camera, video connection and output assignments running. Your own source/output names and captured presentation content are preserved. Phone and browser pages have the same selector and remember their own choice. On first use they follow the browser language; the setup page carries its choice into the secure camera/receiver page. The clean output stays free of language controls. **简体中文:** 在页面顶部的 **Language / 语言** 中选择 **简体中文**。Windows 应用会保存选择,并同步更新所有 StageLink 窗口。切换语言不会中断正在传送的画面,也不会更改自定义信号源名称。手机与浏览器可各自选择语言。使用 Windows 便携版时,请解压整个 ZIP,并保持 EXE、DLL 与 resources 文件夹在一起。 **繁體中文:** 在頁面頂部的 **Language / 语言** 中選擇 **繁體中文**。Windows 應用程式會儲存選擇,並同步更新所有 StageLink 視窗。切換語言不會中斷正在傳送的畫面,也不會變更自訂訊號來源名稱。手機與瀏覽器可各自選擇語言。使用 Windows 可攜版時,請解壓縮整個 ZIP,並保持 EXE、DLL 與 resources 資料夾在一起。 ## Orientation and browser viewing - Phone cameras offer **Landscape (16:9, default)**, **Portrait (9:16)** and **Auto rotate**. The choice changes the transmitted frame, not only the preview. Auto follows the browser's screen orientation; enable the phone's normal screen rotation. A fixed format keeps the full camera image with black space when its shape differs, rather than cropping or turning the scene sideways. - Fixed Landscape and Portrait modes normalize camera pixels into a matching transmitted frame before encoding. Changing frame shape creates a fresh capture track, so the encoder does not retain the previous portrait or landscape size. Auto rotate can use the native camera path when it matches. Frame normalization can add device work. The actual sent size/fps remains visible. Orientation can change during transmission; the camera stays open. - In Control room, **Copy browser link** is available on every source and output. Send that link to another computer on the same LAN and open it in a current browser. No StageLink EXE is needed on the viewing computer. First use requires trusting the host's local certificate; the link opens a setup page when trust is missing. Once trusted, it opens the feed directly. - An **output link** follows that output's current source; a **source link** stays with that camera or screen. Links are read-only, limited to the chosen output/source, and expire when the host restarts. Keep them within your crew. Press **F** or double-click for fullscreen; browser audio may require a click. - The existing EXE receiver remains available: paste the normal host join link, choose **Receive outputs**, then open the desired output windows. This uses certificate pinning without adding a CA to Windows. Compare both receiver methods on your actual network. ## Start here 1. Extract the **entire** portable ZIP. Keep `StageLink.exe`, its DLLs, `resources` and the other supplied files together. Do not copy the EXE out on its own. 2. On the LIVE computer, run **StageLink.exe → Start host**. Keep StageLink running during production. If Windows asks, allow StageLink and its bundled media relay on your intended private/local network. The app does not silently change your firewall. 3. The control room displays a QR code. If the PC has several network adapters, choose the address belonging to the Wi-Fi/router used by your phones. 4. Computers and phones must be able to reach that local network. Computers may use Ethernet; phones use Wi-Fi. Internet and cellular 5G are not needed for local operation. ## Send a presentation computer's picture 1. Use the same portable app folder on the presentation computer. 2. In the host control room, choose **Copy join link**. Transfer and paste the entire link, including everything after `#`, into StageLink on the presentation computer. 3. Choose **Share screen → Choose screen or window**. Select the audience/projector display or presentation output window, not the presenter notes/editing screen. 4. Choose resolution and optionally computer audio, then **Start sharing**. 5. Continue advancing PPT or lyrics in the original app. StageLink sends the changing picture automatically. The host can also share its own screen: use **Share this screen** in the control room. ## Use a phone as a camera — no APK 1. Connect the phone to the same reachable local network and scan the host's QR code. 2. **First use on each phone:** download the StageLink Local Network CA certificate and install/trust it using the instructions on the setup page. A trusted HTTPS connection is a browser camera requirement, even on a local network. A warning bypass alone is not sufficient. This certificate setup does not install an app. 3. Compare the certificate fingerprint with **Certificate identity** in the host control room. Only trust a host you intend to connect to. The root signing key stays on the host. You can remove the certificate from your phone settings afterwards. 4. Open **Phone camera**, grant camera permission, name your camera, choose the front/rear camera and quality, then **Start camera**. 5. Keep this browser page open and the phone unlocked. Other apps, locking, backgrounding, incoming calls, power restrictions and OS camera effects may interrupt or modify capture. ### Certificate menus - **iPhone/iPad:** use Safari to download. Settings → Profile Downloaded (or General → VPN & Device Management) → install StageLink Local Network CA. Then Settings → General → About → Certificate Trust Settings → enable full trust. Return to Safari. - **Android:** use Chrome. Download, then search system Settings for “Install a certificate” or “CA certificate”. Install the file as a CA certificate. Names vary by manufacturer. Android shows its own trust warning; managed devices may prevent installation. - **Windows EXE clients:** paste the full join link. StageLink checks the exact host certificate fingerprint within the app. It does not install a CA into Windows or disable general certificate checking. Changing host computers requires trusting that host's certificate. Reinstalling/deleting the host's application data creates a new certificate. Host IP changes may require a new QR/link; the existing phone root trust can remain valid if the host's certificate data is preserved. ## Route one source to each output 1. Add as many output definitions as you need. There is **no fixed product count limit** for phones, sources, outputs or viewing windows. Hardware and network capacity still apply. 2. Each output's **Source** selector accepts **one source only**, or no source. There are no split-screen or combined layouts. 3. Choose **Open output**. This creates a clean, separate window showing only that source. Choose a connected display in **Open on** to put it fullscreen on that monitor. 4. The same source can feed several outputs. Changing one output never changes another. 5. The clean output follows that output's source assignment. A **direct source** window stays on its chosen source regardless of output changes. To use another receiver computer, paste the host join link into StageLink and choose **Receive outputs**. Open multiple independent windows. Web browsers can also use **Open receiver** on the QR setup page after certificate trust; permit pop-up windows when requested. Clean output shortcuts: **F** or double-click toggles browser fullscreen. **Escape** exits desktop fullscreen. **M** toggles source audio. Audio is off by default. Enable **Play source audio** before opening a window if desired. Browser receivers may additionally require a tap to enable sound. Optional computer audio captures Windows system audio, including other applications, not solely the selected presentation window. ## Phone power and heat Quality choices: 180p, 240p, 360p, 480p, 720p and 1080p. Default is **720p, 30 fps, Studio**. An optional 60 fps mode is available on supported devices; selecting it does not create frames a camera/browser cannot supply. Capture stays at or below 1080p. Hardware H.264 is preferred when available; a browser cannot guarantee hardware encoding. **If movement looks blurry:** use Studio or Maximum detail instead of Balanced. Studio allows up to 8 Mbps at 720p30 or 16 Mbps at 1080p30; Maximum detail allows 12 or 24 Mbps respectively. At 60 fps the budget increases by 1.75 times. These are encoder ceilings, not guaranteed or constant rates. WebRTC can still adapt to actual device and transport capacity. The camera page separates **Camera setting** from **Sent** resolution/fps/bitrate. The control room shows encoded and receiver measurements for open outputs. A smaller sent/received picture than the camera setting means the browser reduced the transmitted image. Device/encoder load, bandwidth constraints and TCP fallback are shown when the browser provides those measurements. Receive-buffer time is not total camera-to-screen latency. Studio requests preservation of resolution and frame rate where supported, with resolution priority as a fallback for older browsers. It does not bypass thermal protection or guarantee a fixed frame rate under overload. Receivers request a 40 ms jitter-buffer target where supported; actual buffering remains browser-controlled. Phone senders no longer process unrelated room-statistics updates. Your camera transmits until you press **Stop**. Changing an output does not silently stop other phones or change their quality. Each phone sends one upstream feed to the local media relay; additional receivers subscribe through the host. 1080p30 cannot guarantee a cool phone. 60 fps increases device load. Use lower resolution, hide the local preview, dim the screen and provide ventilation. **Dim screen** makes the page dark; it does not turn off or lock the physical screen. Screen Wake Lock is requested where supported, but the phone may deny it. Web browsers do not provide dependable device-temperature monitoring here. Stop capture if a device becomes too hot. No real-phone thermal certification is claimed. ## Connection behavior - Camera/screen startup always requires an explicit action and any applicable system permission. - The local relay and pages are bundled. There are no cloud accounts, public STUN/TURN servers, CDN fonts, analytics, or internet dependencies during operation. - StageLink reconnects signaling and media after transient network loss while the source track remains available. A disconnected/stopped source produces an unavailable slate rather than an unexplained frozen picture. - Output names persist across host restarts. Source sessions and join credentials start fresh, so rejoin sources and select their assignments again after restarting the host. This avoids silently displaying an old assignment as a working feed. - Closing a sender stops its feed. Closing an output only stops that receiver. Closing every StageLink window stops the host and its relay. Home can remain open while the control-room window is closed. - Share join links only with intended participants. Joined devices can publish their own source and read available feeds; only the control room's host capability changes shared output assignments. The host can remove a source and invalidate that source's session. ## Troubleshooting - **Phone cannot reach setup:** confirm the selected host adapter, the local network and Windows private-network firewall allowance. Guest/client isolation may prevent device-to-device traffic even on one Wi-Fi name. - **Certificate error / camera unavailable:** finish certificate installation and trust; reopen the secure camera link. Check camera permission in browser and OS settings. Some managed devices do not permit local CA trust. - **Connected but no video:** confirm the source is actually transmitting. The host uses TCP 7080 for setup, TCP 7443 for HTTPS/signaling, and UDP/TCP 8189 for WebRTC. Media relay management ports 8889 and 7445 bind only to the host's loopback interface. - **Wrong presentation picture:** stop sharing, choose the actual audience/projector display or output window, then restart. Some protected or minimized applications cannot be captured reliably. - **Port already used:** close the other host instance using those ports. Do not run two hosts on the same computer with the default ports. - **Need diagnostics:** use the control room's Diagnostics button. The export excludes join/admin secrets and private certificate keys. It includes local adapter addresses, source names and recent media-relay messages. ## Initial release acceptance Automated tests cover HTTPS, certificate identity, permissions, independent routing, connection behavior and real Windows test-window capture through the bundled relay. Synthetic browser-camera tests are not physical phone tests. The real Android/iPhone trust steps, long service-length heat behavior, church Wi-Fi, Windows firewall prompts, mixer audio/lip-sync and the actual PPT/projector output still require acceptance on your equipment. This initial release provides video routing; it does not itself record, stream to YouTube, mix audio, extract transparent lyrics or provide frame-locked multi-camera synchronization. ## Developer commands Node.js 24+ is used for development. The portable app includes its own runtime, so users do not install Node, MediaMTX or Python. ```text npm ci npm run relay:download node node_modules/electron/install.js npm start npm test npm run test:media npm run build npm run package ``` The relay downloader pins MediaMTX v1.21.3 and checks the downloaded archive against the official release checksum before extraction. See THIRD-PARTY-NOTICES.md. The Windows EXE company/publisher metadata is DeepRoot Software Labs. It remains unsigned: a verified Windows publisher identity requires a trusted code-signing certificate. The local HTTPS certificate used by phones is separate from Windows application signing.