Table of Contents
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.
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")
.True
if the operation can be paginated,
False
otherwise.close
()¶Closes underlying endpoint connections.
get_paginator
(operation_name)¶Create a paginator for an operation.
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")
.client.can_paginate
method to
check if an operation is pageable.get_waiter
(waiter_name)¶Returns an object that can wait for some condition.
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'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the signaling channel.
Exceptions
KinesisVideoWebRTCStorage.Client.exceptions.ClientLimitExceededException
KinesisVideoWebRTCStorage.Client.exceptions.InvalidArgumentException
KinesisVideoWebRTCStorage.Client.exceptions.AccessDeniedException
KinesisVideoWebRTCStorage.Client.exceptions.ResourceNotFoundException
The available paginators are: