public class AWSKinesisVideoSignalingClient extends AmazonWebServiceClient implements AWSKinesisVideoSignaling
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.
LOGGING_AWS_REQUEST_METRIC| Constructor and Description | 
|---|
| AWSKinesisVideoSignalingClient()Deprecated.  | 
| AWSKinesisVideoSignalingClient(AWSCredentials awsCredentials)Constructs a new client to invoke service methods on
 AWSKinesisVideoSignaling using the specified AWS account credentials. | 
| AWSKinesisVideoSignalingClient(AWSCredentials awsCredentials,
                              ClientConfiguration clientConfiguration)Constructs a new client to invoke service methods on
 AWSKinesisVideoSignaling using the specified AWS account credentials and
 client configuration options. | 
| AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider)Constructs a new client to invoke service methods on
 AWSKinesisVideoSignaling using the specified AWS account credentials
 provider. | 
| AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider,
                              ClientConfiguration clientConfiguration)Constructs a new client to invoke service methods on
 AWSKinesisVideoSignaling using the specified AWS account credentials
 provider and client configuration options. | 
| AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider,
                              ClientConfiguration clientConfiguration,
                              HttpClient httpClient)Constructs a new client to invoke service methods on
 AWSKinesisVideoSignaling using the specified AWS account credentials
 provider, client configuration options and request metric collector. | 
| AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider,
                              ClientConfiguration clientConfiguration,
                              com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)Deprecated.  | 
| AWSKinesisVideoSignalingClient(ClientConfiguration clientConfiguration)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| ResponseMetadata | getCachedResponseMetadata(AmazonWebServiceRequest request)Deprecated. 
 ResponseMetadata cache can hold up to 50 requests and
             responses in memory and will cause memory issue. This method
             now always returns null. | 
| GetIceServerConfigResult | 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. | 
| SendAlexaOfferToMasterResult | sendAlexaOfferToMaster(SendAlexaOfferToMasterRequest sendAlexaOfferToMasterRequest)
 This API allows you to connect WebRTC-enabled devices with Alexa display
 devices. | 
addRequestHandler, addRequestHandler, getEndpoint, getEndpointPrefix, getRegions, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdown@Deprecated public AWSKinesisVideoSignalingClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AWSKinesisVideoSignalingClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling
            how this client connects to AWSKinesisVideoSignaling (ex:
            proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AWSKinesisVideoSignalingClient(AWSCredentials awsCredentials)
 The client requests are authenticated using the AWSCredentials
 provided in this constructor. Static AWSCredentials can be passed for
 quick testing. However, it is strongly recommended to use Amazon Cognito
 vended temporary credentials for use in production. This can be achieved
 by using AWSMobileClient. Please see
 https://aws-amplify.github.io/docs/android/authentication for
 instructions on how to enable AWSMobileClient.
 
 AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
     @Override
     public void onResult(final UserStateDetails details) {
         AWSKinesisVideoSignalingClient client = new AWSKinesisVideoSignalingClient(AWSMobileClient
                 .getInstance());
     }
 
     @Override
     public void onError(final Exception e) {
         e.printStackTrace();
     }
 });
 
 All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key)
            to use when authenticating with AWS services.public AWSKinesisVideoSignalingClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
 The client requests are authenticated using the AWSCredentials
 provided in this constructor. Static AWSCredentials can be passed for
 quick testing. However, it is strongly recommended to use Amazon Cognito
 vended temporary credentials for use in production. This can be achieved
 by using AWSMobileClient. Please see
 https://aws-amplify.github.io/docs/android/authentication for
 instructions on how to enable AWSMobileClient.
 
 AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
     @Override
     public void onResult(final UserStateDetails details) {
         AWSKinesisVideoSignalingClient client = new AWSKinesisVideoSignalingClient(AWSMobileClient
                 .getInstance());
     }
 
     @Override
     public void onError(final Exception e) {
         e.printStackTrace();
     }
 });
 
 All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key)
            to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling
            how this client connects to AWSKinesisVideoSignaling (ex:
            proxy settings, retry counts, etc.).public AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider)
 The client requests are authenticated using the AWSCredentials
 provided by the AWSCredentialsProvider. Static AWSCredentials can
 be passed for quick testing. However, it is strongly recommended to use
 Amazon Cognito vended temporary credentials for use in production. This
 can be achieved by using AWSMobileClient. Please see
 https://aws-amplify.github.io/docs/android/authentication for
 instructions on how to enable AWSMobileClient.
 
 AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
     @Override
     public void onResult(final UserStateDetails details) {
         AWSKinesisVideoSignalingClient client = new AWSKinesisVideoSignalingClient(AWSMobileClient
                 .getInstance());
     }
 
     @Override
     public void onError(final Exception e) {
         e.printStackTrace();
     }
 });
 
 All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
            provide credentials to authenticate requests with AWS
            services.public AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
 The client requests are authenticated using the AWSCredentials
 provided by the AWSCredentialsProvider. Static AWSCredentials can
 be passed for quick testing. However, it is strongly recommended to use
 Amazon Cognito vended temporary credentials for use in production. This
 can be achieved by using AWSMobileClient. Please see
 https://aws-amplify.github.io/docs/android/authentication for
 instructions on how to enable AWSMobileClient.
 
 AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
     @Override
     public void onResult(final UserStateDetails details) {
         AWSKinesisVideoSignalingClient client = new AWSKinesisVideoSignalingClient(AWSMobileClient
                 .getInstance());
     }
 
     @Override
     public void onError(final Exception e) {
         e.printStackTrace();
     }
 });
 
 All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
            provide credentials to authenticate requests with AWS
            services.clientConfiguration - The client configuration options controlling
            how this client connects to AWSKinesisVideoSignaling (ex:
            proxy settings, retry counts, etc.).@Deprecated public AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
            provide credentials to authenticate requests with AWS
            services.clientConfiguration - The client configuration options controlling
            how this client connects to AWSKinesisVideoSignaling (ex:
            proxy settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic AWSKinesisVideoSignalingClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, HttpClient httpClient)
 The client requests are authenticated using the AWSCredentials
 provided by the AWSCredentialsProvider. Static AWSCredentials can
 be passed for quick testing. However, it is strongly recommended to use
 Amazon Cognito vended temporary credentials for use in production. This
 can be achieved by using AWSMobileClient. Please see
 https://aws-amplify.github.io/docs/android/authentication for
 instructions on how to enable AWSMobileClient.
 
 AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() {
     @Override
     public void onResult(final UserStateDetails details) {
         AWSKinesisVideoSignalingClient client = new AWSKinesisVideoSignalingClient(AWSMobileClient
                 .getInstance());
     }
 
     @Override
     public void onError(final Exception e) {
         e.printStackTrace();
     }
 });
 
 All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
            provide credentials to authenticate requests with AWS
            services.clientConfiguration - The client configuration options controlling
            how this client connects to AWSKinesisVideoSignaling (ex:
            proxy settings, retry counts, etc.).httpClient - A http clientpublic GetIceServerConfigResult getIceServerConfig(GetIceServerConfigRequest getIceServerConfigRequest) throws AmazonServiceException, AmazonClientException
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.
getIceServerConfig in interface AWSKinesisVideoSignalinggetIceServerConfigRequest - InvalidClientExceptionSessionExpiredExceptionClientLimitExceededExceptionResourceNotFoundExceptionInvalidArgumentExceptionNotAuthorizedExceptionAmazonClientException - If any internal errors are encountered
             inside the client while attempting to make the request or
             handle the response. For example if a network connection is
             not available.AmazonServiceException - If an error response is returned by Amazon
             Kinesis Video Signaling indicating either a problem with the
             data in the request, or a server side issue.public SendAlexaOfferToMasterResult sendAlexaOfferToMaster(SendAlexaOfferToMasterRequest sendAlexaOfferToMasterRequest) throws AmazonServiceException, AmazonClientException
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.
sendAlexaOfferToMaster in interface AWSKinesisVideoSignalingsendAlexaOfferToMasterRequest - ClientLimitExceededExceptionResourceNotFoundExceptionInvalidArgumentExceptionNotAuthorizedExceptionAmazonClientException - If any internal errors are encountered
             inside the client while attempting to make the request or
             handle the response. For example if a network connection is
             not available.AmazonServiceException - If an error response is returned by Amazon
             Kinesis Video Signaling indicating either a problem with the
             data in the request, or a server side issue.@Deprecated public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSKinesisVideoSignalingrequest - The originally executed requestCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.