KinesisVideoWebRTCStorage

Client

class KinesisVideoWebRTCStorage.Client

A low-level client representing Amazon Kinesis Video WebRTC Storage

import boto3

client = boto3.client('kinesis-video-webrtc-storage')

These are the available methods:

can_paginate(operation_name)

Check if an operation can be paginated.

Parameters
operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is create_foo, and you'd normally invoke the operation as client.create_foo(**kwargs), if the create_foo operation can be paginated, you can use the call client.get_paginator("create_foo").
Returns
True if the operation can be paginated, False otherwise.
close()

Closes underlying endpoint connections.

get_paginator(operation_name)

Create a paginator for an operation.

Parameters
operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is create_foo, and you'd normally invoke the operation as client.create_foo(**kwargs), if the create_foo operation can be paginated, you can use the call client.get_paginator("create_foo").
Raises OperationNotPageableError
Raised if the operation is not pageable. You can use the client.can_paginate method to check if an operation is pageable.
Return type
L{botocore.paginate.Paginator}
Returns
A paginator object.
get_waiter(waiter_name)

Returns an object that can wait for some condition.

Parameters
waiter_name (str) -- The name of the waiter to get. See the waiters section of the service docs for a list of available waiters.
Returns
The specified waiter object.
Return type
botocore.waiter.Waiter
join_storage_session(**kwargs)

Join the ongoing one way-video and/or multi-way audio WebRTC session as a video producing device for an input channel. If there’s no existing session for the channel, a new streaming session needs to be created, and the Amazon Resource Name (ARN) of the signaling channel must be provided.

Currently for the 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 the 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.

Note

Assume that only one video producing device client can be associated with a session for the channel. If more than one client joins the session of a specific channel as a video producing device, the most recent client request takes precedence.

See also: AWS API Documentation

Request Syntax

response = client.join_storage_session(
    channelArn='string'
)
Parameters
channelArn (string) --

[REQUIRED]

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

Returns
None

Exceptions

  • KinesisVideoWebRTCStorage.Client.exceptions.ClientLimitExceededException
  • KinesisVideoWebRTCStorage.Client.exceptions.InvalidArgumentException
  • KinesisVideoWebRTCStorage.Client.exceptions.AccessDeniedException
  • KinesisVideoWebRTCStorage.Client.exceptions.ResourceNotFoundException

Paginators

The available paginators are: