KinesisVideoMediaClient Class
(QtAws::KinesisVideoMedia::KinesisVideoMediaClient)The KinesisVideoMediaClient class provides access to the Amazon Kinesis Video Streams Media (Kinesis Video Media) service. More...
| Header: | #include <KinesisVideoMediaClient> |
| Inherits: | QtAws::Core::AwsAbstractClient |
Public Functions
| KinesisVideoMediaClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0) | |
| KinesisVideoMediaClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0) |
- 12 public functions inherited from QtAws::Core::AwsAbstractClient
Public Slots
| GetMediaResponse * | getMedia(const GetMediaRequest &request) |
Additional Inherited Members
- 2 protected functions inherited from QtAws::Core::AwsAbstractClient
Detailed Description
The KinesisVideoMediaClient class provides access to the Amazon Kinesis Video Streams Media (Kinesis Video Media) service.
Member Function Documentation
KinesisVideoMediaClient::KinesisVideoMediaClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
Constructs a KinesisVideoMediaClient object.
The new client object will region, credentials, and manager for network operations.
The new object will be owned by parent, if set.
KinesisVideoMediaClient::KinesisVideoMediaClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
This function overloads KinesisVideoMediaClient().
This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).
See also QtAws::Core::AwsEndpoint::getEndpoint.
[slot] GetMediaResponse *KinesisVideoMediaClient::getMedia(const GetMediaRequest &request)
Sends request to the KinesisVideoMediaClient service, and returns a pointer to an GetMediaResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Use this API to retrieve media content from a Kinesis video stream. In the request, you identify stream name or stream Amazon Resource Name (ARN), and the starting chunk. Kinesis Video Streams then returns a stream of chunks in order by fragment
number> <note>
You must first call the <code>GetDataEndpoint</code> API to get an endpoint to which you can then send the <code>GetMedia</code> requests.
</p </note>
When you put media data (fragments) on a stream, Kinesis Video Streams stores each incoming fragment and related metadata in what is called a "chunk." For more information, see . The <code>GetMedia</code> API returns a stream of these chunks starting from the chunk that you specify in the request.
</p
The following limits apply when using the <code>GetMedia</code>
API> <ul> <li>
A client can call <code>GetMedia</code> up to five times per second per stream.
</p </li> <li>
Kinesis Video Streams sends media data at a rate of up to 25 megabytes per second (or 200 megabits per second) during a <code>GetMedia</code> session.
© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.