@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonKinesisVideoWebRTCStorageClient extends AmazonWebServiceClient implements AmazonKinesisVideoWebRTCStorage
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonKinesisVideoWebRTCStorageClientBuilder |
builder() |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
JoinStorageSessionResult |
joinStorageSession(JoinStorageSessionRequest request)
Join the ongoing one way-video and/or multi-way audio WebRTC session as a video producing device for an input
channel.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonKinesisVideoWebRTCStorageClientBuilder builder()
public JoinStorageSessionResult joinStorageSession(JoinStorageSessionRequest request)
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.
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.
joinStorageSession
in interface AmazonKinesisVideoWebRTCStorage
joinStorageSessionRequest
- ClientLimitExceededException
- Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client
calls. Try making the call later.InvalidArgumentException
- The value for this input parameter is invalid.AccessDeniedException
- You do not have required permissions to perform this operation.ResourceNotFoundException
- The specified resource is not found.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonKinesisVideoWebRTCStorage
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonKinesisVideoWebRTCStorage
shutdown
in class AmazonWebServiceClient