|
|
const boost::optional< Credentials > & | credentials () const |
| |
|
const boost::optional< std::string > & | entity () const |
| |
|
bool | allows_insecure_downgrade () const |
| |
|
bool | webrtc_disabled () const |
| |
|
const std::chrono::duration< float > & | timeout () const |
| |
|
int | initial_connection_attempts () const |
| |
|
std::chrono::duration< float > | initial_connection_attempt_timeout () const |
| |
|
Options & | set_entity (boost::optional< std::string > entity) |
| | Set the URL to authenticate against.
|
| |
|
Options & | set_credentials (boost::optional< Credentials > creds) |
| | Set Credentials for connecting to the robot.
|
| |
|
Options & | set_allow_insecure_downgrade (bool allow) |
| | Set whether to allow the RPC connection to be downgraded to an insecure connection if detected. This is only used when credentials are not present.
|
| |
| Options & | set_webrtc_disabled (bool disable_webrtc) |
| | Set whether to bypass WebRTC and connect directly to the robot. This dials directly through grpc bypassing rust utils.
|
| |
|
Options & | set_timeout (std::chrono::duration< float > timeout) |
| | Set the duration before the dial connection times out Set to 20sec to match _defaultOfferDeadline in goutils/rpc/wrtc_call_queue.go.
|
| |
|
Options & | set_initial_connection_attempts (int attempts) |
| | Set the number of attempts to make when initially connecting to a robot If set to 0 or a negative integer, will attempt to reconnect forever.
|
| |
|
Options & | set_initial_connection_attempt_timeout (std::chrono::duration< float > timeout) |
| | Set the timeout of connection attempts when initially dialing a robot Defaults to 20sec to match the default timeout duration.
|
| |
◆ set_webrtc_disabled()
| Options & viam::sdk::ViamChannel::Options::set_webrtc_disabled |
( |
bool | disable_webrtc | ) |
|
Set whether to bypass WebRTC and connect directly to the robot. This dials directly through grpc bypassing rust utils.
The documentation for this class was generated from the following file: