Packages
aws
0.13.3
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.0
0.10.1
0.10.0
0.9.2
0.9.1
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
AWS clients for Elixir
Current section
Files
Jump to
Current section
Files
lib/aws/generated/kinesis_video_signaling.ex
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/aws-beam/aws-codegen for more details.
defmodule AWS.KinesisVideoSignaling do
@moduledoc """
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.
"""
alias AWS.Client
alias AWS.Request
def metadata do
%{
abbreviation: nil,
api_version: "2019-12-04",
content_type: "application/x-amz-json-1.1",
credential_scope: nil,
endpoint_prefix: "kinesisvideo",
global?: false,
protocol: "rest-json",
service_id: "Kinesis Video Signaling",
signature_version: "v4",
signing_name: "kinesisvideo",
target_prefix: nil
}
end
@doc """
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](https://tools.ietf.org/html/draft-uberti-rtcweb-turn-rest-00).
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.
"""
def get_ice_server_config(%Client{} = client, input, options \\ []) do
url_path = "/v1/get-ice-server-config"
headers = []
query_params = []
meta = metadata()
Request.request_rest(
client,
meta,
:post,
url_path,
query_params,
headers,
input,
options,
nil
)
end
@doc """
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.
"""
def send_alexa_offer_to_master(%Client{} = client, input, options \\ []) do
url_path = "/v1/send-alexa-offer-to-master"
headers = []
query_params = []
meta = metadata()
Request.request_rest(
client,
meta,
:post,
url_path,
query_params,
headers,
input,
options,
nil
)
end
end