Class: Aws::KinesisVideoSignalingChannels::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::KinesisVideoSignalingChannels::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-kinesisvideosignalingchannels/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.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
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.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#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.
513 514 515 516 |
# File 'gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 513 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.
556 557 558 559 |
# File 'gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 556 def send_alexa_offer_to_master(params = {}, = {}) req = build_request(:send_alexa_offer_to_master, params) req.send_request() end |