directremotecontrol

command
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL