Skip to content

/AWS1/CL_KNG=>SENDALEXAOFFERTOMASTER()

About SendAlexaOfferToMaster

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.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/KNGRESOURCEARN /AWS1/KNGRESOURCEARN

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

IV_SENDERCLIENTID TYPE /AWS1/KNGCLIENTID /AWS1/KNGCLIENTID

The unique identifier for the sender client.

IV_MESSAGEPAYLOAD TYPE /AWS1/KNGMESSAGEPAYLOAD /AWS1/KNGMESSAGEPAYLOAD

The base64-encoded SDP offer content.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_KNGSENDALEXAOFFERTO01 /AWS1/CL_KNGSENDALEXAOFFERTO01