KinesisVideoArchivedMedia class

Constructors

KinesisVideoArchivedMedia({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
getClip({required ClipFragmentSelector clipFragmentSelector, String? streamARN, String? streamName}) Future<GetClipOutput>
Downloads an MP4 file (clip) containing the archived, on-demand media from the specified video stream over the specified time range.
getDASHStreamingSessionURL({DASHFragmentSelector? dASHFragmentSelector, DASHDisplayFragmentNumber? displayFragmentNumber, DASHDisplayFragmentTimestamp? displayFragmentTimestamp, int? expires, int? maxManifestFragmentResults, DASHPlaybackMode? playbackMode, String? streamARN, String? streamName}) Future<GetDASHStreamingSessionURLOutput>
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.
getHLSStreamingSessionURL({ContainerFormat? containerFormat, HLSDiscontinuityMode? discontinuityMode, HLSDisplayFragmentTimestamp? displayFragmentTimestamp, int? expires, HLSFragmentSelector? hLSFragmentSelector, int? maxMediaPlaylistFragmentResults, HLSPlaybackMode? playbackMode, String? streamARN, String? streamName}) Future<GetHLSStreamingSessionURLOutput>
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.
getMediaForFragmentList({required List<String> fragments, required String streamName}) Future<GetMediaForFragmentListOutput>
Gets media for a list of fragments (specified by fragment number) from the archived data in an Amazon Kinesis video stream. The following limits apply when using the GetMediaForFragmentList API:
listFragments({required String streamName, FragmentSelector? fragmentSelector, int? maxResults, String? nextToken}) Future<ListFragmentsOutput>
Returns a list of Fragment objects from the specified stream and timestamp range within the archived data.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited