@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface KinesisVideoSignalingClient extends AwsClient
builder() method.
Kinesis Video Streams Signaling Service is a intermediate service that establishes a communication channel for discovering peers, transmitting offers and answers in order to establish peer-to-peer connection in webRTC technology.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static KinesisVideoSignalingClientBuilder |
builder()
Create a builder that can be used to configure and create a
KinesisVideoSignalingClient. |
static KinesisVideoSignalingClient |
create()
Create a
KinesisVideoSignalingClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default GetIceServerConfigResponse |
getIceServerConfig(Consumer<GetIceServerConfigRequest.Builder> getIceServerConfigRequest)
Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username,
and password which can be used to configure the WebRTC connection.
|
default GetIceServerConfigResponse |
getIceServerConfig(GetIceServerConfigRequest getIceServerConfigRequest)
Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username,
and password which can be used to configure the WebRTC connection.
|
default SendAlexaOfferToMasterResponse |
sendAlexaOfferToMaster(Consumer<SendAlexaOfferToMasterRequest.Builder> sendAlexaOfferToMasterRequest)
This API allows you to connect WebRTC-enabled devices with Alexa display devices.
|
default SendAlexaOfferToMasterResponse |
sendAlexaOfferToMaster(SendAlexaOfferToMasterRequest sendAlexaOfferToMasterRequest)
This API allows you to connect WebRTC-enabled devices with Alexa display devices.
|
default KinesisVideoSignalingServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default GetIceServerConfigResponse getIceServerConfig(GetIceServerConfigRequest getIceServerConfigRequest) throws InvalidClientException, SessionExpiredException, ClientLimitExceededException, ResourceNotFoundException, InvalidArgumentException, NotAuthorizedException, AwsServiceException, SdkClientException, KinesisVideoSignalingException
Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username, and password which can be used to configure the WebRTC connection. The ICE component uses this configuration information to setup the WebRTC connection, including authenticating with the Traversal Using Relays around NAT (TURN) relay server.
TURN is a protocol that is used to improve the connectivity of peer-to-peer applications. By providing a cloud-based relay service, TURN ensures that a connection can be established even when one or more peers are incapable of a direct peer-to-peer connection. For more information, see A REST API For Access To TURN Services.
You can invoke this API to establish a fallback mechanism in case either of the peers is unable to establish a direct peer-to-peer connection over a signaling channel. You must specify either a signaling channel ARN or the client ID in order to invoke this API.
getIceServerConfigRequest - InvalidClientException - The specified client is invalid.SessionExpiredException - If the client session is expired. Once the client is connected, the session is valid for 45 minutes.
Client should reconnect to the channel to continue sending/receiving messages.ClientLimitExceededException - Your request was throttled because you have exceeded the limit of allowed client calls. Try making the
call later.ResourceNotFoundException - The specified resource is not found.InvalidArgumentException - The value for this input parameter is invalid.NotAuthorizedException - The caller is not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisVideoSignalingException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetIceServerConfigResponse getIceServerConfig(Consumer<GetIceServerConfigRequest.Builder> getIceServerConfigRequest) throws InvalidClientException, SessionExpiredException, ClientLimitExceededException, ResourceNotFoundException, InvalidArgumentException, NotAuthorizedException, AwsServiceException, SdkClientException, KinesisVideoSignalingException
Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username, and password which can be used to configure the WebRTC connection. The ICE component uses this configuration information to setup the WebRTC connection, including authenticating with the Traversal Using Relays around NAT (TURN) relay server.
TURN is a protocol that is used to improve the connectivity of peer-to-peer applications. By providing a cloud-based relay service, TURN ensures that a connection can be established even when one or more peers are incapable of a direct peer-to-peer connection. For more information, see A REST API For Access To TURN Services.
You can invoke this API to establish a fallback mechanism in case either of the peers is unable to establish a direct peer-to-peer connection over a signaling channel. You must specify either a signaling channel ARN or the client ID in order to invoke this API.
This is a convenience which creates an instance of the GetIceServerConfigRequest.Builder avoiding the
need to create one manually via GetIceServerConfigRequest.builder()
getIceServerConfigRequest - A Consumer that will call methods on
GetIceServerConfigRequest.Builder to
create a request.InvalidClientException - The specified client is invalid.SessionExpiredException - If the client session is expired. Once the client is connected, the session is valid for 45 minutes.
Client should reconnect to the channel to continue sending/receiving messages.ClientLimitExceededException - Your request was throttled because you have exceeded the limit of allowed client calls. Try making the
call later.ResourceNotFoundException - The specified resource is not found.InvalidArgumentException - The value for this input parameter is invalid.NotAuthorizedException - The caller is not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisVideoSignalingException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SendAlexaOfferToMasterResponse sendAlexaOfferToMaster(SendAlexaOfferToMasterRequest sendAlexaOfferToMasterRequest) throws ClientLimitExceededException, ResourceNotFoundException, InvalidArgumentException, NotAuthorizedException, AwsServiceException, SdkClientException, KinesisVideoSignalingException
This API allows you to connect WebRTC-enabled devices with Alexa display devices. When invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master peer. The offer is delivered as soon as the master is connected to the specified signaling channel. This API returns the SDP answer from the connected master. If the master is not connected to the signaling channel, redelivery requests are made until the message expires.
sendAlexaOfferToMasterRequest - ClientLimitExceededException - Your request was throttled because you have exceeded the limit of allowed client calls. Try making the
call later.ResourceNotFoundException - The specified resource is not found.InvalidArgumentException - The value for this input parameter is invalid.NotAuthorizedException - The caller is not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisVideoSignalingException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SendAlexaOfferToMasterResponse sendAlexaOfferToMaster(Consumer<SendAlexaOfferToMasterRequest.Builder> sendAlexaOfferToMasterRequest) throws ClientLimitExceededException, ResourceNotFoundException, InvalidArgumentException, NotAuthorizedException, AwsServiceException, SdkClientException, KinesisVideoSignalingException
This API allows you to connect WebRTC-enabled devices with Alexa display devices. When invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master peer. The offer is delivered as soon as the master is connected to the specified signaling channel. This API returns the SDP answer from the connected master. If the master is not connected to the signaling channel, redelivery requests are made until the message expires.
This is a convenience which creates an instance of the SendAlexaOfferToMasterRequest.Builder avoiding the
need to create one manually via SendAlexaOfferToMasterRequest.builder()
sendAlexaOfferToMasterRequest - A Consumer that will call methods on
SendAlexaOfferToMasterRequest.Builder
to create a request.ClientLimitExceededException - Your request was throttled because you have exceeded the limit of allowed client calls. Try making the
call later.ResourceNotFoundException - The specified resource is not found.InvalidArgumentException - The value for this input parameter is invalid.NotAuthorizedException - The caller is not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisVideoSignalingException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic KinesisVideoSignalingClient create()
KinesisVideoSignalingClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static KinesisVideoSignalingClientBuilder builder()
KinesisVideoSignalingClient.static ServiceMetadata serviceMetadata()
default KinesisVideoSignalingServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.