blib/lib/Paws/KinesisVideoArchivedMedia/DASHFragmentSelector.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::KinesisVideoArchivedMedia::DASHFragmentSelector;
3 use Moose;
4 has FragmentSelectorType => (is => 'ro', isa => 'Str');
5 has TimestampRange => (is => 'ro', isa => 'Paws::KinesisVideoArchivedMedia::DASHTimestampRange');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::KinesisVideoArchivedMedia::DASHFragmentSelector
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::KinesisVideoArchivedMedia::DASHFragmentSelector object:
25  
26 $service_obj->Method(Att1 => { FragmentSelectorType => $value, ..., TimestampRange => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::KinesisVideoArchivedMedia::DASHFragmentSelector object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->FragmentSelectorType
34  
35 =head1 DESCRIPTION
36  
37 Contains the range of timestamps for the requested media, and the
38 source of the timestamps.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 FragmentSelectorType => Str
44  
45 The source of the timestamps for the requested media.
46  
47 When C<FragmentSelectorType> is set to C<PRODUCER_TIMESTAMP> and
48 GetDASHStreamingSessionURLInput$PlaybackMode is C<ON_DEMAND> or
49 C<LIVE_REPLAY>, the first fragment ingested with a producer timestamp
50 within the specified FragmentSelector$TimestampRange is included in the
51 media playlist. In addition, the fragments with producer timestamps
52 within the C<TimestampRange> ingested immediately following the first
53 fragment (up to the
54 GetDASHStreamingSessionURLInput$MaxManifestFragmentResults value) are
55 included.
56  
57 Fragments that have duplicate producer timestamps are deduplicated.
58 This means that if producers are producing a stream of fragments with
59 producer timestamps that are approximately equal to the true clock
60 time, the MPEG-DASH manifest will contain all of the fragments within
61 the requested timestamp range. If some fragments are ingested within
62 the same time range and very different points in time, only the oldest
63 ingested collection of fragments are returned.
64  
65 When C<FragmentSelectorType> is set to C<PRODUCER_TIMESTAMP> and
66 GetDASHStreamingSessionURLInput$PlaybackMode is C<LIVE>, the producer
67 timestamps are used in the MP4 fragments and for deduplication. But the
68 most recently ingested fragments based on server timestamps are
69 included in the MPEG-DASH manifest. This means that even if fragments
70 ingested in the past have producer timestamps with values now, they are
71 not included in the HLS media playlist.
72  
73 The default is C<SERVER_TIMESTAMP>.
74  
75  
76 =head2 TimestampRange => L<Paws::KinesisVideoArchivedMedia::DASHTimestampRange>
77  
78 The start and end of the timestamp range for the requested media.
79  
80 This value should not be present if C<PlaybackType> is C<LIVE>.
81  
82  
83  
84 =head1 SEE ALSO
85  
86 This class forms part of L<Paws>, describing an object used in L<Paws::KinesisVideoArchivedMedia>
87  
88 =head1 BUGS and CONTRIBUTIONS
89  
90 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
91  
92 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
93  
94 =cut
95