Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

send_alexa_offer_to_master

send_alexa_offer_to_master(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.send_alexa_offer_to_master(
    ChannelARN='string',
    SenderClientId='string',
    MessagePayload='string'
)
Parameters
  • ChannelARN (string) --

    [REQUIRED]

    The ARN of the signaling channel by which Alexa and the master peer communicate.

  • SenderClientId (string) --

    [REQUIRED]

    The unique identifier for the sender client.

  • MessagePayload (string) --

    [REQUIRED]

    The base64-encoded SDP offer content.

Return type

dict

Returns

Response Syntax

{
    'Answer': 'string'
}

Response Structure

  • (dict) --

    • Answer (string) --

      The base64-encoded SDP answer content.

Exceptions

  • KinesisVideoSignalingChannels.Client.exceptions.ClientLimitExceededException
  • KinesisVideoSignalingChannels.Client.exceptions.ResourceNotFoundException
  • KinesisVideoSignalingChannels.Client.exceptions.InvalidArgumentException
  • KinesisVideoSignalingChannels.Client.exceptions.NotAuthorizedException