Package com.viam.sdk.core.rpc
Class Dialer<MediaStreamT,T extends PeerConnectionFactory<MediaStreamT>>
java.lang.Object
com.viam.sdk.core.rpc.Dialer<MediaStreamT,T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
RobotClientFactory
public abstract class Dialer<MediaStreamT,T extends PeerConnectionFactory<MediaStreamT>>
extends Object
implements Closeable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
dialDirectGRPC
(String host, RobotClient.Options<MediaStreamT> options) dialDirectGRPCInternal
(String address, DialOptions<MediaStreamT> opts) dialWebRTC
(String host, RobotClient.Options<MediaStreamT> options) dialWebRTC
(String signalingAddress, String host, DialOptions<MediaStreamT> opts, Executor executor, Logger logger) abstract CompletableFuture<Channel>
dialWebRTCInternal
(String signalingAddress, String host, DialOptions<MediaStreamT> opts) protected T
static ICECandidate
static Signaling.ICECandidate
-
Constructor Details
-
Dialer
-
-
Method Details
-
dialWebRTC
public CompletableFuture<RobotClient> dialWebRTC(String host, RobotClient.Options<MediaStreamT> options) -
dialDirectGRPC
-
iceCandidateFromProto
-
iceCandidateToProto
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getPeerConnectionFactory
-
dialDirectGRPCInternal
-
dialWebRTCInternal
public abstract CompletableFuture<Channel> dialWebRTCInternal(String signalingAddress, String host, DialOptions<MediaStreamT> opts) -
dialWebRTC
public CompletableFuture<Channel> dialWebRTC(String signalingAddress, String host, DialOptions<MediaStreamT> opts, Executor executor, Logger logger)
-