-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigEnv-production.js
38 lines (33 loc) · 1.46 KB
/
configEnv-production.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Web socket server root URL
window.WS_SERVER =
typeof window !== "undefined" && `https://${window.location.hostname}`;
// Web socket server path, ex: "/websocket-server-path/"
window.WS_PATH = "/imaging-control/";
// sealog url for iframe
//window.SEALOG_URL = "https://sealog.whoi.edu/sealog-alvin/";
window.SEALOG_URL =
typeof window !== "undefined" && `https://${window.location.hostname}/sealog`;
// Video stream server configs
window.VIDEO_STREAM_SERVER =
typeof window !== "undefined" && `https://${window.location.hostname}/video`;
window.PORT_OBSERVER_VIDEO = "port_obs";
window.PORT_OBSERVER_SMALL_VIDEO = "port_obs_small";
window.PORT_RECORDER_VIDEO = "port_rec";
window.STBD_OBSERVER_VIDEO = "stbd_obs";
window.STBD_OBSERVER_SMALL_VIDEO = "stbd_obs_small";
window.STBD_RECORDER_VIDEO = "stbd_rec";
window.PILOT_VIDEO = "pilot";
window.PILOT_SMALL_VIDEO = "pilot_small";
/*
window.CAMERAS = [
{ camera: "camera1", cam_name: "port_brow_4k", owner: "port" },
{ camera: "camera2", cam_name: "port_patz", owner: "port" },
{ camera: "camera3", cam_name: "stbd_brow_4k", owner: "stbd" },
{ camera: "camera4", cam_name: "stbd_patz", owner: "stbd" },
{ camera: "camera5", cam_name: "aft_cam", owner: "none" },
{ camera: "camera6", cam_name: "down_cam", owner: "none" },
{ camera: "camera7", cam_name: "brow_wide", owner: "none" },
{ camera: "camera8", cam_name: "sci_cam", owner: "pilot" },
{ camera: "camera9", cam_name: "pilot_cam", owner: "pilot" },
];
*/