{"id":1929,"date":"2026-11-24T02:15:43","date_gmt":"2026-11-24T02:15:43","guid":{"rendered":"https:\/\/b9xelectronics.com\/?page_id=1929"},"modified":"2026-11-24T08:20:57","modified_gmt":"2026-11-24T08:20:57","slug":"b9x-camera-server-2","status":"publish","type":"page","link":"https:\/\/b9xelectronics.com\/?page_id=1929","title":{"rendered":"B9X Camera Server"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"637\" src=\"https:\/\/b9xelectronics.com\/wp-content\/uploads\/2026\/11\/B9X-Camera-Server-Backyard-View-1024x637.png\" alt=\"\" class=\"wp-image-1936\" srcset=\"https:\/\/b9xelectronics.com\/wp-content\/uploads\/2026\/11\/B9X-Camera-Server-Backyard-View-1024x637.png 1024w, https:\/\/b9xelectronics.com\/wp-content\/uploads\/2026\/11\/B9X-Camera-Server-Backyard-View-300x187.png 300w, https:\/\/b9xelectronics.com\/wp-content\/uploads\/2026\/11\/B9X-Camera-Server-Backyard-View-768x478.png 768w, https:\/\/b9xelectronics.com\/wp-content\/uploads\/2026\/11\/B9X-Camera-Server-Backyard-View-1536x956.png 1536w, https:\/\/b9xelectronics.com\/wp-content\/uploads\/2026\/11\/B9X-Camera-Server-Backyard-View-600x373.png 600w, https:\/\/b9xelectronics.com\/wp-content\/uploads\/2026\/11\/B9X-Camera-Server-Backyard-View.png 1589w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<!-- Paste this entire file into a WordPress Custom HTML block. -->\n<style>\n.b9x-guide{--m:#5b1723;--m2:#7b2434;--ink:#17191d;--muted:#60656d;--soft:#f6f2f3;--line:#dfd4d6;--gold:#c89a47;box-sizing:border-box;max-width:1120px;margin:24px auto;padding:0 22px 32px;background:#fff;color:var(--ink);font:17px\/1.65 Arial,Helvetica,sans-serif;text-align:left}\n.b9x-guide *{box-sizing:border-box}.b9x-guide h1,.b9x-guide h2,.b9x-guide h3{font-family:Arial,Helvetica,sans-serif;line-height:1.2;letter-spacing:normal;text-transform:none}.b9x-guide h1{font-size:clamp(36px,5vw,58px);line-height:1.06;margin:10px 0 18px;color:#fff}.b9x-guide h2{font-size:32px;margin:0 0 18px;color:var(--m)}.b9x-guide h3{font-size:21px;margin:24px 0 10px;color:var(--m)}.b9x-guide p{margin:0 0 16px}.b9x-guide a{color:var(--m);text-decoration:underline;text-underline-offset:3px}.b9x-guide a:focus-visible,.b9x-guide summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}.b9x-guide header{margin:0 -22px 30px;padding:50px 28px 40px;background:linear-gradient(135deg,#3d0d16,#721e2d 62%,#2b0a10);color:#fff}.b9x-guide header p{max-width:900px;color:#f8eaed}.b9x-guide header .b9x-eyebrow{font-size:13px;font-weight:900;letter-spacing:.13em;color:#f0c77a}.b9x-guide .b9x-lead{font-size:21px}.b9x-guide .b9x-hero-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.b9x-guide .b9x-hero-links a{display:inline-block;background:#fff;border:1px solid #fff;border-radius:7px;color:var(--m);font-weight:900;text-decoration:none;padding:12px 20px}.b9x-guide .b9x-hero-links a+ a{background:transparent;color:#fff;border-color:#dfadb6}.b9x-guide section{border-top:1px solid var(--line);margin-top:34px;padding-top:32px;scroll-margin-top:28px}.b9x-guide ul,.b9x-guide ol{padding-left:25px;margin:12px 0 20px}.b9x-guide li{margin:8px 0}.b9x-guide .b9x-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0}.b9x-guide .b9x-card{background:#fff;padding:23px;border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 18px rgba(0,0,0,.04)}.b9x-guide .b9x-card h3{margin:0 0 9px}.b9x-guide .b9x-card p{margin:0;color:var(--muted)}.b9x-guide .b9x-note{padding:18px 20px;margin:22px 0;border-left:5px solid var(--gold);background:#fff8e8;color:#464a50;border-radius:7px}.b9x-guide nav{padding:22px;background:var(--soft);border:1px solid var(--line);border-radius:12px}.b9x-guide nav>strong{color:var(--m);font-size:21px}.b9x-guide nav ul{columns:2;column-gap:28px;margin-bottom:0}.b9x-guide nav li{break-inside:avoid}.b9x-guide code{font:.94em\/1.6 ui-monospace,Consolas,monospace;background:#f1e8eb;color:#5b1723;border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}.b9x-guide pre{background:var(--soft);color:var(--ink);border:1px solid var(--line);padding:16px;border-radius:8px;overflow:auto;white-space:pre;font-size:15px}.b9x-guide pre code{background:none;padding:0;color:inherit}.b9x-guide .b9x-table{overflow-x:auto;margin:18px 0}.b9x-guide table{border-collapse:collapse;width:100%;font:inherit;color:inherit;background:#fff}.b9x-guide caption{text-align:left;font-weight:bold;color:var(--m);padding-bottom:10px}.b9x-guide th,.b9x-guide td{text-align:left;vertical-align:top;padding:12px;border:1px solid var(--line);background:transparent;color:inherit}.b9x-guide th{background:var(--m);color:#fff;font-weight:750}.b9x-guide tbody tr:nth-child(even){background:#fbf9f9}.b9x-guide details{border:1px solid var(--line);border-radius:9px;padding:15px 18px;margin:12px 0;background:#fff}.b9x-guide details[open]{background:var(--soft)}.b9x-guide summary{cursor:pointer;font-weight:750;color:var(--m)}.b9x-guide details p{margin:12px 0 0}.b9x-guide .b9x-small{font-size:14px;color:var(--muted)}\n@media(max-width:760px){.b9x-guide{font-size:16px;padding:0 16px 24px}.b9x-guide header{margin:0 -16px 24px;padding:34px 20px 28px}.b9x-guide nav ul{columns:1}.b9x-guide .b9x-cards{grid-template-columns:1fr}.b9x-guide h2{font-size:27px}.b9x-guide th,.b9x-guide td{padding:9px}.b9x-guide .b9x-hero-links a{width:100%;text-align:center}}\n@media print{.b9x-guide{max-width:none;padding:0;font-size:11pt}.b9x-guide header{background:#fff;color:#111;margin:0;padding:0 0 16px}.b9x-guide header h1,.b9x-guide header p,.b9x-guide header .b9x-eyebrow{color:#111}.b9x-guide nav,.b9x-guide .b9x-hero-links{display:none}.b9x-guide .b9x-card{box-shadow:none;break-inside:avoid}.b9x-guide th{background:#eee;color:#111}}\n<\/style>\n<article class=\"b9x-guide\" aria-label=\"B9X Camera Server beginner guide\">\n<header>\n<p class=\"b9x-eyebrow\">B9X ELECTRONICS \u00b7 GETTING STARTED<\/p>\n<h1>B9X Camera Server<\/h1>\n<p class=\"b9x-lead\">View two cameras, save video on your Windows PC, and check your cameras from an Android phone.<\/p>\n<p>B9X Camera Server connects your cameras to a Windows computer. The computer provides live viewing, MP4 recording, and a paired connection for Android viewers. It also supports camera alerts and MQTT automation with compatible equipment.<\/p>\n<div class=\"b9x-hero-links\"><a href=\"#b9x-first\">Start setting up<\/a><a href=\"#b9x-mqtt\">MQTT reference<\/a><\/div>\n<\/header>\n<div class=\"b9x-cards\">\n<div class=\"b9x-card\"><h3>Two camera slots<\/h3><p>Use one or two cameras. Each slot can use a compatible USB camera or a Reolink D340W doorbell.<\/p><\/div>\n<div class=\"b9x-card\"><h3>MP4 recording<\/h3><p>Start and stop each camera independently. Choose a separate save folder for each camera.<\/p><\/div>\n<div class=\"b9x-card\"><h3>Android viewing<\/h3><p>Pair by QR code or pairing text. Use camera tabs to switch views and listen to available audio.<\/p><\/div>\n<div class=\"b9x-card\"><h3>Talk and alerts<\/h3><p>Supported cameras provide two-way talk, doorbell notifications, and person-detection alerts.<\/p><\/div>\n<div class=\"b9x-card\"><h3>Automatic setup recovery<\/h3><p>Saved cameras reopen on launch. Failed startup connections receive a limited number of retries.<\/p><\/div>\n<div class=\"b9x-card\"><h3>MQTT automation<\/h3><p>Control recording and receive recording states, person states, and doorbell events through your broker.<\/p><\/div>\n<\/div>\n<section id=\"b9x-tested\"><h2>Tested cameras and available features<\/h2>\n<p><strong>B9X Camera Server has been tested to work with the Reolink Video Doorbell WiFi, model D340W, and compatible USB cameras.<\/strong> The available functions differ by camera type. Use this comparison when choosing what to connect.<\/p>\n<div class=\"b9x-table\"><table><caption>Features available in B9X Camera Server<\/caption><thead><tr><th scope=\"col\">Feature<\/th><th scope=\"col\">Reolink Video Doorbell WiFi D340W<\/th><th scope=\"col\">Compatible USB cameras<\/th><\/tr><\/thead><tbody>\n<tr><th scope=\"row\">Windows live video<\/th><td>Yes, using RTSP.<\/td><td>Yes, through USB.<\/td><\/tr>\n<tr><th scope=\"row\">Use in either camera slot<\/th><td>Yes.<\/td><td>Yes. Use a different physical USB device in each slot.<\/td><\/tr>\n<tr><th scope=\"row\">Manual MP4 recording<\/th><td>Yes.<\/td><td>Yes.<\/td><\/tr>\n<tr><th scope=\"row\">Listen to incoming audio<\/th><td>Yes, from the doorbell microphone.<\/td><td>Yes, using an available camera microphone or a separate selected PC microphone.<\/td><\/tr>\n<tr><th scope=\"row\">Audio in recordings<\/th><td>Yes, when camera audio is available before recording starts.<\/td><td>Yes, with a selected, available microphone and Video only turned off.<\/td><\/tr>\n<tr><th scope=\"row\">Android live viewing and listening<\/th><td>Yes, through the Windows server.<\/td><td>Yes, through the Windows server; listening requires available microphone audio.<\/td><\/tr>\n<tr><th scope=\"row\">Two-way talk from Windows or Android<\/th><td>Yes, through the doorbell speaker.<\/td><td>Not supported as camera talk-back. A USB camera is not a network intercom.<\/td><\/tr>\n<tr><th scope=\"row\">Doorbell-press notifications on Android<\/th><td>Yes, with ONVIF and camera alerts enabled.<\/td><td>Not available.<\/td><\/tr>\n<tr><th scope=\"row\">Person-detection notifications on Android<\/th><td>Available when the camera sends the supported ONVIF person events.<\/td><td>Not available.<\/td><\/tr>\n<tr><th scope=\"row\">Person-triggered MP4 recording<\/th><td>Available with supported ONVIF person events and Person: record MP4 enabled.<\/td><td>Not available.<\/td><\/tr>\n<tr><th scope=\"row\">MQTT recording commands and recording state<\/th><td>Yes.<\/td><td>Yes.<\/td><\/tr>\n<tr><th scope=\"row\">MQTT person states and PERSON events<\/th><td>Available with supported ONVIF person events.<\/td><td>Not available.<\/td><\/tr>\n<tr><th scope=\"row\">MQTT DOORBELL events<\/th><td>Yes, with supported ONVIF doorbell events.<\/td><td>Not available.<\/td><\/tr>\n<tr><th scope=\"row\">Saved setup and reopening on launch<\/th><td>Yes.<\/td><td>Yes, while the saved USB device remains available.<\/td><\/tr>\n<\/tbody><\/table><\/div>\n<div class=\"b9x-note\"><strong>Supported cameras:<\/strong> compatible USB cameras and the Reolink Video Doorbell WiFi, model D340W. Other network-camera models are not supported. USB audio depends on an available camera microphone or a separate PC microphone; USB cameras do not provide the D340W\u2019s talk-back, doorbell, or person-event features.<\/div>\n<p>For doorbell and person alerts, keep the Windows event service running and configure ONVIF as described below. Android sounds also require notification permission. Internet viewing requires the server\u2019s remote-access setup for both supported camera types.<\/p>\n<\/section>\n<div class=\"b9x-note\"><strong>Keep the Windows PC running.<\/strong> Android viewing, alerts, and recording depend on B9X Camera Server remaining open and connected. A sleeping or switched-off PC cannot provide these services.<\/div>\n<nav aria-label=\"Guide contents\"><strong>In this guide<\/strong><ul>\n<li><a href=\"#b9x-tested\">Tested cameras and features<\/a><\/li>\n<li><a href=\"#b9x-need\">1. What you need<\/a><\/li><li><a href=\"#b9x-first\">2. First launch<\/a><\/li><li><a href=\"#b9x-usb\">3. Add a USB camera<\/a><\/li><li><a href=\"#b9x-network\">4. Add a Reolink D340W<\/a><\/li><li><a href=\"#b9x-record\">5. Record and play video<\/a><\/li><li><a href=\"#b9x-phone\">6. Pair an Android phone on Wi-Fi<\/a><\/li><li><a href=\"#b9x-internet\">7. View over the internet<\/a><\/li><li><a href=\"#b9x-audio\">8. Listen and talk<\/a><\/li><li><a href=\"#b9x-alerts\">9. Doorbell and person alerts<\/a><\/li><li><a href=\"#b9x-person\">10. Record when a person is detected<\/a><\/li><li><a href=\"#b9x-phones\">11. Manage paired phones<\/a><\/li><li><a href=\"#b9x-startup\">12. Save settings and start with Windows<\/a><\/li><li><a href=\"#b9x-mqtt\">13. MQTT commands and events<\/a><\/li><li><a href=\"#b9x-help\">14. Troubleshooting<\/a><\/li>\n<\/ul><\/nav>\n<section id=\"b9x-need\"><h2>1. What you need<\/h2>\n<ul><li>A Windows 10 or Windows 11 <strong>64-bit PC<\/strong> with enough free space for recordings.<\/li><li>One or two compatible USB cameras, Reolink D340W doorbells, or a combination.<\/li><li>For network cameras: the camera\u2019s local IP address and camera username\/password.<\/li><li>For mobile viewing: an Android phone with the matching B9X viewer installed.<\/li><li>For alerts: a compatible camera with ONVIF enabled and the required events available.<\/li><li>For MQTT: an existing MQTT broker, such as Mosquitto. This feature is optional.<\/li><\/ul>\n<p><strong>What do the terms mean?<\/strong> RTSP supplies a network camera\u2019s video\/audio stream. ONVIF supplies supported camera events. MQTT carries short commands and status messages; it does not carry the video.<\/p>\n<p><strong>Supported camera choices are compatible USB cameras and the Reolink Video Doorbell WiFi D340W only.<\/strong> Use the D340W for camera talk-back, doorbell alerts, and supported ONVIF person events. USB cameras provide live video and recording, with audio when a microphone is available.<\/p>\n<\/section>\n<section id=\"b9x-first\"><h2>2. First launch<\/h2>\n<ol><li>Extract the complete Windows application package into a permanent folder.<\/li><li>Keep the supplied support files and application folders with the EXE. Do not move only the EXE.<\/li><li>Open <strong>B9X Camera Server<\/strong>. Each camera panel has its own viewing and recording controls.<\/li><li>Allow camera and microphone access in Windows when needed. If Windows Firewall asks about network access, allow the app on your trusted private network.<\/li><li>Set up one camera and confirm its preview before adding the second.<\/li><\/ol>\n<p>For reliable monitoring, connect the PC to power and adjust its power settings so it stays awake. Turning off the display is different from putting the PC to sleep.<\/p>\n<\/section>\n<section id=\"b9x-usb\"><h2>3. Add a USB camera<\/h2>\n<ol><li>Plug the camera into the PC. Close other apps using that camera.<\/li><li>Click <strong>Refresh<\/strong> to scan for devices. Refresh closes both current previews, so stop recordings first.<\/li><li>In Camera 1, select the camera from the device list.<\/li><li>Choose an <strong>Audio source<\/strong> if you want microphone audio. Choose <strong>Video only<\/strong> for a silent USB recording.<\/li><li>Click <strong>Open camera<\/strong>. Wait until the live image appears.<\/li><li>Repeat in Camera 2 with a different device, if required.<\/li><\/ol>\n<p><strong>Automatic<\/strong> lets Windows select a microphone. A named microphone selects that device explicitly. To change the audio source, select it and reopen the camera. <strong>Hear microphone<\/strong> plays the selected microphone locally; headphones help prevent feedback.<\/p>\n<p>If two USB cameras are unreliable on one hub, try separate PC USB ports. One physical USB camera cannot be opened in both slots at the same time.<\/p>\n<\/section>\n<section id=\"b9x-network\"><h2>4. Add a Reolink D340W doorbell<\/h2>\n<h3>Prepare the camera<\/h3>\n<ol><li>Complete the D340W\u2019s setup in the Reolink app.<\/li><li>Connect the camera and Windows PC to the same local network. Avoid guest networks that block devices from reaching each other.<\/li><li>Enable RTSP on the D340W. Enable ONVIF too if you want supported alerts or person-triggered recording.<\/li><li>Find the camera\u2019s IP address in its app or your router. A router DHCP reservation helps keep that address unchanged.<\/li><li>Have the D340W\u2019s <strong>camera account<\/strong> username and password ready.<\/li><\/ol>\n<h3>Enter the connection in B9X<\/h3>\n<ol><li>Click <strong>Add RTSP camera\u2026<\/strong>.<\/li><li>Enter the full RTSP URI for your camera.<\/li><li>Enter the username and password in their separate fields. Do not put them inside the URI.<\/li><li>Click <strong>Use in Camera 1<\/strong> or <strong>Use in Camera 2<\/strong>.<\/li><li>Allow time for authentication and the first video frame. A network startup attempt can take up to 30 seconds.<\/li><\/ol>\n<div class=\"b9x-table\"><table><caption>Example local camera addresses<\/caption><thead><tr><th scope=\"col\">Camera \/ stream<\/th><th scope=\"col\">URI example<\/th><\/tr><\/thead><tbody>\n<tr><td>Reolink substream<\/td><td><code>rtsp:\/\/192.168.1.50:554\/Preview_01_sub<\/code><\/td><\/tr>\n<\/tbody><\/table><\/div>\n<p>Replace the example IP address with your camera\u2019s address. Reolink paths can vary by model\/firmware; some use <code>\/h264Preview_01_sub<\/code>. Use the camera\u2019s documented H.264 stream. Start with the D340W\u2019s H.264 substream to reduce network and decoding load.<\/p>\n<div class=\"b9x-note\"><strong>Use the full URI for Reolink.<\/strong> Entering only an IP address in B9X assumes port 554 and <code>\/stream2<\/code>, which is not the D340W address shown above. Enter the full Reolink URI instead.<\/div>\n<p>To replace or edit an existing camera, use <strong>Change Camera 1<\/strong> or <strong>Change Camera 2<\/strong>, then enter the replacement connection details. Stop that slot\u2019s recording first.<\/p>\n<\/section>\n<section id=\"b9x-record\"><h2>5. Record and play video<\/h2>\n<ol><li>Confirm the camera\u2019s live preview is working.<\/li><li>Click its <strong>Save folder\u2026<\/strong> button and choose where to store MP4 files. Documents is the default location.<\/li><li>If the network camera supplies audio, wait for camera audio to become available before starting an audio recording.<\/li><li>Click <strong>Start recording<\/strong>. The panel shows recording time.<\/li><li>Click <strong>Stop recording<\/strong> when finished.<\/li><li><strong>Wait for \u201cSaved\u201d<\/strong> before closing the app or opening the MP4.<\/li><li>Open the selected folder in Windows File Explorer and double-click the saved MP4 to play it.<\/li><\/ol>\n<p>Both slots can record independently, producing separate files. File names identify the slot and recording time. Available audio is camera\/source dependent. A microphone selection for a USB camera is different from the built-in audio in an RTSP stream.<\/p>\n<p>Stopping a recording takes a moment because the app must finish the MP4. Closing Windows or removing power before this completes can leave an incomplete file. Check free disk space regularly.<\/p>\n<\/section>\n<section id=\"b9x-phone\"><h2>6. Pair an Android phone on Wi-Fi<\/h2>\n<p>Start here before trying internet access. Pairing authorizes a particular phone to connect to your Windows server.<\/p>\n<ol><li>Keep B9X Camera Server open with at least one live camera.<\/li><li>Connect the Android phone to the same local network as the PC.<\/li><li>Click <strong>Start phone viewing<\/strong> in the Windows app. Wait for its ready status.<\/li><li>Click <strong>Pair on Wi-Fi<\/strong> to create a pairing QR code.<\/li><li>Open the Android viewer\u2019s settings\/pairing area and tap <strong>Scan QR<\/strong>. Allow camera permission for scanning.<\/li><li>Scan the Windows QR code. Alternatively, click <strong>Copy pairing code<\/strong> on Windows, transfer the complete code privately to the phone, paste it into the pairing field, and tap <strong>Pair<\/strong>.<\/li><li>When pairing succeeds, select the <strong>Camera 1<\/strong> or <strong>Camera 2<\/strong> tab to view that camera.<\/li><\/ol>\n<p>Codes are one-time and expire after about ten minutes. Generate a fresh code for each additional phone. Treat pairing codes like passwords.<\/p>\n<p>The server supports up to <strong>16 paired phone entries<\/strong>. Actual simultaneous viewing performance depends on PC speed, camera settings, Wi-Fi, and internet upload capacity; 16 entries is not a guarantee that every network will support 16 smooth viewers.<\/p>\n<\/section>\n<section id=\"b9x-internet\"><h2>7. View over the internet<\/h2>\n<p><strong>Wi-Fi pairing does not automatically create internet access.<\/strong> An internet pairing must contain an address that reaches your Windows PC from outside your home network.<\/p>\n<ol><li>Give the Windows PC a stable local IP address, preferably with a router DHCP reservation.<\/li><li>Use a public hostname or dynamic DNS hostname that points to your internet connection.<\/li><li>In your router, forward a public <strong>TCP<\/strong> port to the Windows PC\u2019s phone-viewing port. The current default internal port is <strong>18443<\/strong>.<\/li><li>Allow that listening port through Windows Firewall. Check that your internet service allows inbound connections; carrier-grade NAT can prevent ordinary port forwarding.<\/li><li>In the Windows app, enter your public hostname in the internet-host field and the router\u2019s public port in the internet-port field. Enter a hostname, not an <code>https:\/\/<\/code> URL or camera RTSP URI.<\/li><li>Click <strong>Pair over internet<\/strong> and pair the phone with the new code.<\/li><li>Turn off Wi-Fi on the phone and test using mobile data.<\/li><\/ol>\n<p>If the router uses public TCP 18443 and the server uses its default port, forward <strong>18443 \u2192 Windows-PC-IP:18443<\/strong>. If you previously configured another server listening port, use that actual port instead.<\/p>\n<div class=\"b9x-note\"><strong>Pairing can be done directly over the internet<\/strong> once the address, port forwarding, and firewall work. Pairing on the LAN first is a useful test, but is not required. Changing a hostname file alone does not update an already-saved phone pairing; generate an internet pairing code for the intended address.<\/div>\n<p>Use the Windows app\u2019s internet pairing controls rather than manually editing configuration files. Do not forward the camera\u2019s RTSP or ONVIF ports for phone viewing. Remote phone traffic goes to the Windows server.<\/p>\n<p>Some routers cannot reach their own public hostname from inside the same LAN. If an internet pairing fails only on home Wi-Fi, test it using mobile data.<\/p>\n<\/section>\n<section id=\"b9x-audio\"><h2>8. Listen and talk<\/h2>\n<h3>Listen to the camera<\/h3><p>In the Android camera view, tap <strong>Listen<\/strong>. Raise the phone\u2019s media volume. The camera must have a microphone, audio enabled, and a supported audio stream. On Windows, use the camera\u2019s <strong>Hear camera audio<\/strong> control when available.<\/p>\n<h3>Speak through a supported camera<\/h3><ol><li>Open the desired Android camera tab.<\/li><li>Tap <strong>Talk<\/strong> and allow microphone permission.<\/li><li>Wait for talk to connect, then speak normally.<\/li><li>Tap <strong>Stop talking<\/strong> when finished.<\/li><\/ol>\n<p>Windows also provides <strong>Talk through camera<\/strong> for supported hardware. Listening and talking may be used together, but use headphones or keep the phone away from the camera\u2019s speaker to reduce acoustic feedback. Only one talk session can control a camera at a time; stop talking on one device before starting on another.<\/p>\n<p>Two-way talk is camera-specific. A camera may provide video and incoming audio without supporting talk-back in B9X.<\/p>\n<\/section>\n<section id=\"b9x-alerts\"><h2>9. Doorbell and person alerts on Android<\/h2>\n<ol><li>Enable ONVIF in the camera and confirm its ONVIF port. The port is not necessarily the RTSP port.<\/li><li>Enter the correct ONVIF port for that Windows camera slot. The field defaults to 8000; use your camera\u2019s actual setting.<\/li><li>Enable <strong>Camera alerts<\/strong> for the slot and keep <strong>phone viewing<\/strong> running.<\/li><li>On Android, enable <strong>Camera alerts in background<\/strong> and grant notification permission.<\/li><li>Press the doorbell and confirm a notification arrives.<\/li><\/ol>\n<p>Each slot has a separate chime. On Android 8 or later, tap <strong>Camera 1 chime<\/strong> or <strong>Camera 2 chime<\/strong> to open the relevant Android notification settings and choose a sound.<\/p>\n<h3>Person-detection sounds<\/h3><p>Enable the camera\u2019s own person detection. In the Android settings, enable that camera\u2019s <strong>person alerts<\/strong>. Use <strong>Camera 1 person sound<\/strong> or <strong>Camera 2 person sound<\/strong> to select a separate notification sound on Android 8 or later. Android 7 uses the phone\u2019s default notification sound for person alerts.<\/p>\n<p>These are the camera\u2019s person-recognition events, not a generic motion detector added to USB video. Camera sensitivity and detection zones affect results. A continuing person presence does not repeatedly chime; person notifications have a 30-second cooldown per slot.<\/p>\n<p>Notification volume, Silent mode, Do Not Disturb, and Android background restrictions can affect delivery. Keep the Windows server reachable. If the viewer was force-stopped, reopen it to resume background alerts.<\/p>\n<div class=\"b9x-note\"><strong>\u201cDoorbell alerts listening\u201d means the listener is connected.<\/strong> It does not prove that the camera has sent a button event. Likewise, working doorbell alerts do not prove that person events are supported.<\/div>\n<\/section>\n<section id=\"b9x-person\"><h2>10. Record automatically when a person is detected<\/h2>\n<ol><li>Open your Reolink D340W and confirm its live preview.<\/li><li>Enable ONVIF and person detection in the camera, and set the correct ONVIF port in B9X.<\/li><li>Choose the slot\u2019s recording folder.<\/li><li>Select <strong>Person: record MP4<\/strong>.<\/li><li>Walk through the camera\u2019s detection area and check for a person event and recording status.<\/li><\/ol>\n<p>A new person-detection event starts a recording. It continues while a person is reported and for about <strong>20 seconds after the last fresh person-present state<\/strong>. Another detection extends the clip.<\/p>\n<p>There is <strong>no pre-event recording buffer<\/strong> in this version. Manual recordings are not automatically stopped by person events. The Stop recording button can stop an automatic clip. Clearing Person: record MP4 also ends an automatic clip through normal finalization.<\/p>\n<p>The event service starts automatically when this option is enabled and the preview is ready. No Android phone needs to be paired. If you deliberately stop phone viewing, event monitoring stops too; start phone viewing again to resume it.<\/p>\n<p>Sound alerts and automatic recording are separate options. You can receive a person notification without saving an MP4.<\/p>\n<\/section>\n<section id=\"b9x-phones\"><h2>11. Rename or remove paired phones<\/h2>\n<ol><li>Start phone viewing and select an entry in the Windows <strong>Paired phones<\/strong> list.<\/li><li>To rename it, type a recognizable name in the text box above <strong>Save name<\/strong>, then click Save name.<\/li><li>To revoke its access, select it and click <strong>Remove phone<\/strong>.<\/li><\/ol>\n<p>The name box labels the selected phone; it is not a hostname or camera-address field. Removing a phone requires it to pair again before it can reconnect. Use this list to free entries if the 16-phone limit is reached. Android\u2019s <strong>Forget<\/strong> button clears its local pairing; remove obsolete entries on Windows as well.<\/p>\n<\/section>\n<section id=\"b9x-startup\"><h2>12. Saved settings and automatic startup<\/h2>\n<p>Camera choices, saved network-camera details, recording folders, and supported options are retained for the same Windows user. On a normal launch, the server tries to reopen its saved cameras. The slots start a few seconds apart; a failed startup receives up to four attempts per slot. Startup recovery does not mean a manual recording automatically resumes after a reboot.<\/p>\n<h3>Start the app after a reboot<\/h3>\n<ol><li>Keep the installed EXE and its support files in a permanent folder.<\/li><li>Place <code>Enable-Windows-Startup.cmd<\/code>, <code>Disable-Windows-Startup.cmd<\/code>, and <code>Install-Windows-Startup.ps1<\/code> together, for example beside the EXE.<\/li><li>Double-click <strong>Enable-Windows-Startup.cmd<\/strong>. You do not need to run the PowerShell file separately.<\/li><li>Select the installed B9X Camera Server EXE in the file chooser.<\/li><li>After a reboot, sign into that Windows account. The app launches about <strong>20 seconds after sign-in<\/strong> and restores its saved cameras.<\/li><\/ol>\n<p>To turn this off, double-click <strong>Disable-Windows-Startup.cmd<\/strong>. If you move the app, run Enable again and select its new location.<\/p>\n<div class=\"b9x-note\"><strong>Windows sign-in is required.<\/strong> B9X Camera Server is a desktop application, not a service that runs before login. A reboot with Windows left at the sign-in screen will not start the camera server.<\/div>\n<\/section>\n<section id=\"b9x-mqtt\"><h2>13. MQTT setup, commands, and events<\/h2>\n<p>MQTT is optional. Use it to connect B9X Camera Server to automation software or an MQTT dashboard. You need a running broker; B9X connects as a client.<\/p>\n<ol><li>Click <strong>MQTT settings<\/strong> in the Windows app.<\/li><li>Enable MQTT and enter your broker\u2019s hostname\/IP, port, and account credentials if required.<\/li><li>Use the broker\u2019s configured port. Common ports are 1883 without TLS and 8883 with TLS. Enable TLS only when the broker supports it.<\/li><li>Leave the topic prefix as <code>b9x<\/code> for the examples below. Give separate servers different prefixes.<\/li><li>Click <strong>Save \/ Apply<\/strong> and check that the status says connected.<\/li><li>In your MQTT viewer, subscribe to <code>b9x\/#<\/code>.<\/li><\/ol>\n<p>TLS connections validate the broker\u2019s certificate and hostname. Use a trusted certificate and its matching hostname. A broker password requires a username.<\/p>\n<h3>Commands you send<\/h3>\n<div class=\"b9x-table\"><table><thead><tr><th scope=\"col\">Topic<\/th><th scope=\"col\">Message<\/th><th scope=\"col\">Action<\/th><\/tr><\/thead><tbody>\n<tr><td><code>b9x\/cam1\/set<\/code><\/td><td><code>ON<\/code> \/ <code>OFF<\/code><\/td><td>Start \/ stop Camera 1 recording.<\/td><\/tr>\n<tr><td><code>b9x\/cam2\/set<\/code><\/td><td><code>ON<\/code> \/ <code>OFF<\/code><\/td><td>Start \/ stop Camera 2 recording.<\/td><\/tr>\n<\/tbody><\/table><\/div>\n<p><strong>Disable Retain when sending commands.<\/strong> Retained commands are rejected. <code>START<\/code> and <code>STOP<\/code> are accepted aliases. Open the camera and choose its save folder first.<\/p>\n<h3>States and events you receive<\/h3>\n<div class=\"b9x-table\"><table><thead><tr><th scope=\"col\">Topic<\/th><th scope=\"col\">Possible messages<\/th><th scope=\"col\">Meaning<\/th><\/tr><\/thead><tbody>\n<tr><td><code>b9x\/status<\/code><\/td><td><code>ON<\/code>, <code>OFF<\/code><\/td><td>Server MQTT connection online \/ offline.<\/td><\/tr>\n<tr><td><code>b9x\/cam1<\/code><br><code>b9x\/cam2<\/code><\/td><td><code>ON<\/code>, <code>OFF<\/code>, <code>BUSY<\/code>, <code>ERR<\/code>, <code>NA<\/code><\/td><td>Recording; stopped; opening\/starting\/finalizing; error; unavailable.<\/td><\/tr>\n<tr><td><code>b9x\/cam1\/person<\/code><br><code>b9x\/cam2\/person<\/code><\/td><td><code>ON<\/code>, <code>OFF<\/code>, <code>NA<\/code><\/td><td>Person present; clear; person status unavailable.<\/td><\/tr>\n<tr><td><code>b9x\/cam1\/event<\/code><br><code>b9x\/cam2\/event<\/code><\/td><td><code>PERSON<\/code>, <code>DOORBELL<\/code><\/td><td>A new person detection or doorbell press at that camera.<\/td><\/tr>\n<tr><td><code>b9x\/cam1\/reply<\/code><br><code>b9x\/cam2\/reply<\/code><\/td><td><code>ON OK<\/code>, <code>OFF OK<\/code>, <code>ON ERR<\/code>, <code>ON NA<\/code>, <code>NA<\/code><\/td><td>Latest recording-command result, or no result available.<\/td><\/tr>\n<\/tbody><\/table><\/div>\n<p>An <code>OK<\/code> reply means the command was accepted or its requested condition was already satisfied. Confirm actual recording using <code>b9x\/cam1<\/code> or <code>b9x\/cam2<\/code>; a reply is not proof that an MP4 was saved.<\/p>\n<p>Availability, states, and replies are retained. Events are <strong>not retained<\/strong> and do not have an OFF event. Check <code>b9x\/status<\/code> before trusting an old retained camera value. Windows Start recording and Stop recording buttons update the same recording-state topics.<\/p>\n<p>Person and doorbell MQTT events need compatible ONVIF event support and the event service running. No phone has to be connected. The Android notification switches do not control MQTT events. Selecting Person: record MP4 is not required just to publish person events.<\/p>\n<h3>Example<\/h3><p>To start Camera 1, publish <code>ON<\/code> to <code>b9x\/cam1\/set<\/code>. Expect the camera state to become <code>ON<\/code> once recording starts. Publish <code>OFF<\/code> to stop it; finalization may show <code>BUSY<\/code> before <code>OFF<\/code>.<\/p>\n<\/section>\n<section id=\"b9x-help\"><h2>14. Troubleshooting<\/h2>\n<details><summary>No image appears at startup<\/summary><p>Allow time for camera startup and retries. Check that the camera has power, its IP address has not changed, and the PC has network access. Close other USB-camera apps. After retries finish, use Open camera or Change Camera to reconnect. Stop any recordings before using Refresh, because it closes both previews.<\/p><\/details>\n<details><summary>A network camera rejects the login<\/summary><p>Check the camera account, not just the manufacturer\u2019s cloud account. Re-enter the password in its separate field. Confirm RTSP is enabled and the URI path matches the camera. A Reolink camera usually needs its full URI rather than an IP-only entry.<\/p><\/details>\n<details><summary>Android says pairing failed or keeps reconnecting<\/summary><p>Start phone viewing on Windows, generate a new unexpired pairing code, and verify the address and firewall. For Wi-Fi pairing, avoid guest Wi-Fi and confirm the PC and phone can reach each other. For internet pairing, test on mobile data and check TCP port forwarding to the PC\u2019s actual listening port. Pairing cannot create a router forwarding rule for you.<\/p><\/details>\n<details><summary>The maximum of 16 phones is full<\/summary><p>Select obsolete entries under Paired phones and click Remove phone, then generate a new code. Repeated pairing can leave entries that should be removed. Forgetting the pairing on Android does not free the Windows entry by itself.<\/p><\/details>\n<details><summary>I see video but hear no camera audio<\/summary><p>Tap Listen on Android, check media volume, and confirm the camera\u2019s microphone\/audio setting is enabled. Wait for audio to become available before recording. Video-only streams and cameras without supported audio cannot supply sound. A USB microphone choice does not enable an RTSP camera\u2019s microphone.<\/p><\/details>\n<details><summary>Talk is unavailable or sounds choppy<\/summary><p>Confirm your model supports B9X talk-back and Android microphone permission is allowed. Stop another device\u2019s talk session. Move closer to Wi-Fi, reduce competing traffic, and try the camera\u2019s H.264 substream. Use headphones to reduce feedback. Video compatibility alone does not establish talk compatibility.<\/p><\/details>\n<details><summary>The listener says ready, but no doorbell or person sound arrives<\/summary><p>Check ONVIF, the configured ONVIF port, and Camera alerts on Windows. On Android, allow notifications and background camera alerts, then check the relevant chime\/person notification channel, volume, and Do Not Disturb. For person alerts, confirm the camera actually reports a person event rather than only ordinary motion.<\/p><\/details>\n<details><summary>No recording was saved<\/summary><p>Check the selected folder, free disk space, and the panel\u2019s error\/status message. Stop normally and wait for Saved before closing. Automatic person recording also needs actual person events. Test a short manual recording and play the MP4 before relying on unattended recording.<\/p><\/details>\n<details><summary>MQTT is online, but I cannot see camera messages<\/summary><p>Subscribe to b9x\/# on the same broker and check whether you chose a different prefix. Expand the cam1 and cam2 topics in the viewer. Some dashboards update an existing retained value instead of adding a new log entry. Recording state is on b9x\/cam1 and b9x\/cam2, not on a \/record\/state topic.<\/p><\/details>\n<details><summary>The broker shows topics beginning with $SYS<\/summary><p>Those are the MQTT broker\u2019s own statistics, not camera events. Subscribe to b9x\/# to focus on this server\u2019s messages, and remove a $SYS\/# subscription if you do not want broker statistics in your viewer.<\/p><\/details>\n<details><summary>The app did not open after a reboot<\/summary><p>Sign into the same Windows account used when enabling startup and wait about 20 seconds. Run Enable-Windows-Startup.cmd again if the EXE moved. Keep its support files in place. This desktop app does not launch while Windows remains at the sign-in screen.<\/p><\/details>\n<h3>A simple first-day test<\/h3><ol><li>Open each camera and confirm a live image.<\/li><li>Record a short MP4 from each slot, stop normally, and play both files.<\/li><li>Pair one Android phone on Wi-Fi and test its camera tabs and available audio.<\/li><li>If supported, test talk, a real doorbell press, and a person walking into view.<\/li><li>Close and reopen Windows B9X Camera Server to verify saved camera restoration.<\/li><li>Only then add internet access, automatic startup, or MQTT as needed.<\/li><\/ol>\n<p class=\"b9x-small\">Manufacturer connection references: <a href=\"https:\/\/support.reolink.com\/articles\/900000630706-Introduction-to-RTSP\/\">Reolink RTSP guide<\/a>. Reolink menu names can vary with firmware.<\/p>\n<p><a href=\"#b9x-need\">Back to setup requirements \u2191<\/a><\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>B9X ELECTRONICS \u00b7 GETTING STARTED B9X Camera Server View two cameras, save video on your Windows PC, and check your cameras from an Android phone. B9X Camera Server connects your cameras to a Windows computer. The computer provides live viewing, MP4 recording, and a paired connection for Android viewers. It also supports camera alerts and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1929","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=\/wp\/v2\/pages\/1929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1929"}],"version-history":[{"count":4,"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=\/wp\/v2\/pages\/1929\/revisions"}],"predecessor-version":[{"id":1940,"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=\/wp\/v2\/pages\/1929\/revisions\/1940"}],"wp:attachment":[{"href":"https:\/\/b9xelectronics.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}