You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to calculate my stream duration by using the list fragments API and then sum the FragmentLengthInMilliseconds for all the return fragments, however, the FragmentLengthInMilliseconds in the returned result is not the same as the time duration I get in the M3U file of the video, for example, the list of fragment I get for the following time range (Using PRODUCER_TIMESTAMP in both cases):
I'm trying to calculate my stream duration by using the
list fragments
API and then sum theFragmentLengthInMilliseconds
for all the return fragments, however, theFragmentLengthInMilliseconds
in the returned result is not the same as the time duration I get in theM3U
file of the video, for example, the list of fragment I get for the following time range (UsingPRODUCER_TIMESTAMP
in both cases):List of sorted fragments by ProducerTimestamp:
the total duration of all fragments: 57421 MS
The M3U file:
The total duration of all fragments: 5900 MS
As you can see the return fragments' numbers are identical but their length is different.
My question is how can it be?
Which other why do I have to get the duration of the fragments for some time range without retrieving the entire stream for that time range?
Thank you.
The text was updated successfully, but these errors were encountered: