Skip to content

/AWS1/CL_KNR=>JOINSTORAGESESSIONASVIEWER()

About JoinStorageSessionAsViewer

Join the ongoing one way-video and/or multi-way audio WebRTC session as a viewer for an input channel. If there’s no existing session for the channel, create a new streaming session and provide the Amazon Resource Name (ARN) of the signaling channel (channelArn) and client id (clientId).

Currently for SINGLE_MASTER type, a video producing device is able to ingest both audio and video media into a stream, while viewers can only ingest audio. Both a video producing device and viewers can join a session first and wait for other participants. While participants are having peer to peer conversations through WebRTC, the ingested media session will be stored into the Kinesis Video Stream. Multiple viewers are able to playback real-time media.

Customers can also use existing Kinesis Video Streams features like HLS or DASH playback, Image generation, and more with ingested WebRTC media. If there’s an existing session with the same clientId that's found in the join session request, the new request takes precedence.

Method Signature

IMPORTING

Required arguments:

iv_channelarn TYPE /AWS1/KNRCHANNELARN /AWS1/KNRCHANNELARN

The Amazon Resource Name (ARN) of the signaling channel.

iv_clientid TYPE /AWS1/KNRCLIENTID /AWS1/KNRCLIENTID

The unique identifier for the sender client.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->/aws1/if_knr~joinstoragesessionasviewer(
  iv_channelarn = |string|
  iv_clientid = |string|
).