Documentation ¶
Overview ¶
Package main provides a utility to run a remote control only web server. It is configured with a config file that looks like the following:
{ "webrtc_enabled": true, "host": "something.0000000000.viam.cloud", "webrtc_signaling_address": "https://app.viam.com:443", "webrtc_additional_ice_servers": [{"credential":"cred","urls":"turn:global.turn.twilio.com:3478","username":"cred"}], "baked_auth": { "authEntity": "something.0000000000.viam.cloud", "creds": { "type": "some-key", "payload": "payload" } } }
Usage ¶
Run with development server ¶
ENV=development go run go.viam.com/rdk/web/cmd/directremotecontrol --config ~/some/config_like_above.json
Click to show internal directories.
Click to hide internal directories.