AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Identifies the chunk on the Kinesis video stream where you want the GetMedia API to start returning media data. You have the following options to identify the starting chunk:

Inheritance Hierarchy

System.Object
  Amazon.KinesisVideoMedia.Model.StartSelector

Namespace: Amazon.KinesisVideoMedia.Model
Assembly: AWSSDK.KinesisVideoMedia.dll
Version: 3.x.y.z

Syntax

C#
public class StartSelector

The StartSelector type exposes the following members

Constructors

NameDescription
Public Method StartSelector()

Properties

NameTypeDescription
Public Property AfterFragmentNumber System.String

Gets and sets the property AfterFragmentNumber.

Specifies the fragment number from where you want the GetMedia API to start returning the fragments.

Public Property ContinuationToken System.String

Gets and sets the property ContinuationToken.

Continuation token that Kinesis Video Streams returned in the previous GetMedia response. The GetMedia API then starts with the chunk identified by the continuation token.

Public Property StartSelectorType Amazon.KinesisVideoMedia.StartSelectorType

Gets and sets the property StartSelectorType.

Identifies the fragment on the Kinesis video stream where you want to start getting the data from.

  • NOW - Start with the latest chunk on the stream.

  • EARLIEST - Start with earliest available chunk on the stream.

  • FRAGMENT_NUMBER - Start with the chunk after a specific fragment. You must also specify the AfterFragmentNumber parameter.

  • PRODUCER_TIMESTAMP or SERVER_TIMESTAMP - Start with the chunk containing a fragment with the specified producer or server timestamp. You specify the timestamp by adding StartTimestamp.

  • CONTINUATION_TOKEN - Read using the specified continuation token.

If you choose the NOW, EARLIEST, or CONTINUATION_TOKEN as the startSelectorType, you don't provide any additional information in the startSelector.

Public Property StartTimestamp System.DateTime

Gets and sets the property StartTimestamp.

A timestamp value. This value is required if you choose the PRODUCER_TIMESTAMP or the SERVER_TIMESTAMP as the startSelectorType. The GetMedia API then starts with the chunk containing the fragment that has the specified timestamp.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5