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.
434 435 436 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 434 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.
582 583 584 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 582 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.
585 586 587 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 585 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.
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 555 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.39.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.
503 504 505 506 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 503 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.
546 547 548 549 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 546 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.
575 576 577 |
# File 'lib/aws-sdk-kinesisvideosignalingchannels/client.rb', line 575 def waiter_names [] end |