Class: Aws::KinesisVideoSignalingChannels::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::KinesisVideoSignalingChannels::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-kinesisvideosignalingchannels/client.rb
Overview
An API client for KinesisVideoSignalingChannels. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::KinesisVideoSignalingChannels::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#get_ice_server_config(params = {}) ⇒ Types::GetIceServerConfigResponse
Gets the Interactive Connectivity Establishment (ICE) server configuration information, including URIs, username, and password which can be used to configure the WebRTC connection.
-
#send_alexa_offer_to_master(params = {}) ⇒ Types::SendAlexaOfferToMasterResponse
This API allows you to connect WebRTC-enabled devices with Alexa display devices.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
473 474 475 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 473 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
621 622 623 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 621 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
624 625 626 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 624 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 594 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::KinesisVideoSignalingChannels') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-kinesisvideosignalingchannels' context[:gem_version] = '1.59.0' Seahorse::Client::Request.new(handlers, context) end |
#get_ice_server_config(params = {}) ⇒ Types::GetIceServerConfigResponse
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.
542 543 544 545 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 542 def get_ice_server_config(params = {}, = {}) req = build_request(:get_ice_server_config, params) req.send_request() end |
#send_alexa_offer_to_master(params = {}) ⇒ Types::SendAlexaOfferToMasterResponse
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.
585 586 587 588 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 585 def send_alexa_offer_to_master(params = {}, = {}) req = build_request(:send_alexa_offer_to_master, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
614 615 616 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 614 def waiter_names [] end |