@norskvideo/ctl-test-harness 0.1.110 → 0.1.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/run.js +3 -0
- package/package.json +1 -1
package/demo/run.js
CHANGED
|
@@ -666,6 +666,9 @@ export class DemoSession {
|
|
|
666
666
|
NORSK_CTL_MOQ_RELAY_QUIC_PORT: String(quicPort),
|
|
667
667
|
NORSK_CTL_MOQ_RELAY_STATUS_PORT: String(statusPort),
|
|
668
668
|
...(browserUrl ? { NORSK_CTL_MOQ_RELAY_PUBLIC_URL: browserUrl } : {}),
|
|
669
|
+
// The daemon shares this container's network, not the host's loopback
|
|
670
|
+
// the status port is published on: it registers launch keys by name.
|
|
671
|
+
...(netReachMode() === "direct" ? { NORSK_CTL_MOQ_RELAY_STATUS_URL: this.moqRelay.statusUrl } : {}),
|
|
669
672
|
};
|
|
670
673
|
}
|
|
671
674
|
/** The daemon never removes its relay, on shutdown or otherwise. */
|