Skip to content

Commit e342ea9

Browse files
committed
Fix #16 With windows ICS cameras are not discovered
1 parent 859c7d6 commit e342ea9

7 files changed

Lines changed: 482 additions & 82 deletions

File tree

native/recorder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "crewtimer_video_recorder",
3-
"version": "1.0.10-module",
3+
"version": "1.0.11-module",
44
"description": "A node electron utility to write mp4 files for CrewTimer Video Review",
55
"main": "index.js",
66
"types": "index.d.ts",

native/recorder/src/NdiReader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class NdiReader : public VideoReader
398398
opt.timeout = std::chrono::seconds(2);
399399
opt.debug = false;
400400
opt.debug_level = 2;
401+
opt.reenumerate_interval_ms = 5000; // 0 = disabled; e.g. 2000 to re-enumerate every 2s
401402
mdns = std::make_shared<ndi_mdns::NdiMdns>(opt);
402403
mdnsScanThread = std::thread(&NdiReader::mdnsScanLoop, this);
403404
// ndiScanThread = std::thread(&NdiReader::ndiScanLoop, this);

native/recorder/src/mdns/ndi_mdns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ int mdns_main_test()
44
{
55
ndi_mdns::DiscoverOptions opt;
66
opt.timeout = std::chrono::seconds(5);
7-
opt.debug = false; // set true for [DBG] lines
7+
opt.debug = true; // set true for [DBG] lines
88
opt.debug_level = 2;
99
// opt.interface_ipv4 = "10.0.1.5"; // pick your NIC if needed
1010

0 commit comments

Comments
 (0)