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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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 Tstatic ICECandidatestatic 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:
closein interfaceAutoCloseable- Specified by:
closein 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)
-