KinesisVideoArchivedMediaClient

Properties

Link copied to clipboard

KinesisVideoArchivedMediaClient's configuration

Functions

Link copied to clipboard
abstract suspend fun <T> getClip(input: GetClipRequest, block: suspend (GetClipResponse) -> T): T

Downloads an MP4 file (clip) containing the archived, on-demand media from the specified video stream over the specified time range.

Link copied to clipboard
abstract suspend fun getDashStreamingSessionUrl(input: GetDashStreamingSessionUrlRequest = GetDashStreamingSessionUrlRequest { }): GetDashStreamingSessionUrlResponse

Retrieves an MPEG Dynamic Adaptive Streaming over HTTP (DASH) URL for the stream. You can then open the URL in a media player to view the stream contents.

Link copied to clipboard
abstract suspend fun getHlsStreamingSessionUrl(input: GetHlsStreamingSessionUrlRequest = GetHlsStreamingSessionUrlRequest { }): GetHlsStreamingSessionUrlResponse

Retrieves an HTTP Live Streaming (HLS) URL for the stream. You can then open the URL in a browser or media player to view the stream contents.

Link copied to clipboard
abstract suspend fun getImages(input: GetImagesRequest): GetImagesResponse

Retrieves a list of images corresponding to each timestamp for a given time range, sampling interval, and image format configuration.

Link copied to clipboard
abstract suspend fun <T> getMediaForFragmentList(input: GetMediaForFragmentListRequest, block: suspend (GetMediaForFragmentListResponse) -> T): T

Gets media for a list of fragments (specified by fragment number) from the archived data in an Amazon Kinesis video stream.

Link copied to clipboard
abstract suspend fun listFragments(input: ListFragmentsRequest = ListFragmentsRequest { }): ListFragmentsResponse

Returns a list of Fragment objects from the specified stream and timestamp range within the archived data.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Retrieves an MPEG Dynamic Adaptive Streaming over HTTP (DASH) URL for the stream. You can then open the URL in a media player to view the stream contents.

Link copied to clipboard

Retrieves an HTTP Live Streaming (HLS) URL for the stream. You can then open the URL in a browser or media player to view the stream contents.

Link copied to clipboard

Retrieves a list of images corresponding to each timestamp for a given time range, sampling interval, and image format configuration.

Link copied to clipboard

Returns a list of Fragment objects from the specified stream and timestamp range within the archived data.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.