Skip to main content

Build a browser-reachable vf viewer URL

GET 

/api/viewer-url

Constructs the vf HTTPS viewer URL using the configured public origin when /home/docker/.insight-config/launch-url is present, otherwise the current request host and mapped videoUI port. Setting /home/docker/.insight-config/url-routing to direct disables public-origin routing while preserving launch-url for SDK launch surfaces; proxy (the default) keeps shared-origin routing regardless of port numbers. When src is omitted, all channels within the resolved capacity are included; supplied indexes that are invalid or exceed an SDK port-publication limit are discarded. The response also explains whether capacity came from a DevKit, the SDK port map, or the legacy 80-channel fallback.

Request​

Responses​

Viewer URL plus the resolved SDK or DevKit channel capacity.