5.0.0 • Published 5 years ago

@datafire/amazonaws_kinesis_video_signaling v5.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/amazonaws_kinesis_video_signaling

Client library for Amazon Kinesis Video Signaling Channels

Installation and Usage

npm install --save @datafire/amazonaws_kinesis_video_signaling
let amazonaws_kinesis_video_signaling = require('@datafire/amazonaws_kinesis_video_signaling').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

.then(data => {
  console.log(data);
});

Description

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.

Actions

GetIceServerConfig

amazonaws_kinesis_video_signaling.GetIceServerConfig({
  "ChannelARN": ""
}, context)

Input

  • input object
    • ChannelARN required string: The ARN of the signaling channel to be used for the peer-to-peer connection between configured peers.
    • ClientId string: Unique identifier for the viewer. Must be unique within the signaling channel.
    • Service string (values: TURN): Specifies the desired service. Currently, TURN is the only valid value.
    • Username string: An optional user ID to be associated with the credentials.

Output

SendAlexaOfferToMaster

amazonaws_kinesis_video_signaling.SendAlexaOfferToMaster({
  "ChannelARN": "",
  "SenderClientId": "",
  "MessagePayload": ""
}, context)

Input

  • input object
    • ChannelARN required string: The ARN of the signaling channel by which Alexa and the master peer communicate.
    • MessagePayload required string: The base64-encoded SDP offer content.
    • SenderClientId required string: The unique identifier for the sender client.

Output

Definitions

Answer

  • Answer string

ClientId

  • ClientId string

ClientLimitExceededException

GetIceServerConfigRequest

  • GetIceServerConfigRequest object
    • ChannelARN required
    • ClientId
    • Service
    • Username

GetIceServerConfigResponse

  • GetIceServerConfigResponse object

IceServer

  • IceServer object: A structure for the ICE server connection data.
    • Password
    • Ttl
    • Uris
    • Username

IceServerList

InvalidArgumentException

InvalidClientException

MessagePayload

  • MessagePayload string

NotAuthorizedException

Password

  • Password string

ResourceARN

  • ResourceARN string

ResourceNotFoundException

SendAlexaOfferToMasterRequest

  • SendAlexaOfferToMasterRequest object
    • ChannelARN required
    • MessagePayload required
    • SenderClientId required

SendAlexaOfferToMasterResponse

  • SendAlexaOfferToMasterResponse object
    • Answer

Service

  • Service string (values: TURN)

SessionExpiredException

Ttl

  • Ttl integer

Uri

  • Uri string

Uris

  • Uris array

Username

  • Username string