Hi,
I am trying to find a duration of the stream for rtmp and hls.
I see that the
IMediaStream.getMaxTimecode()
returns a duration of the stream. (possibly rtmp? if the incoming stream is rmtp)
and
LiveStreamPacketizerCupertinoChunk.getStartTimecode()
for each TsChunk’s start time in milliseconds duration from the first ts chunk(0)
My question are,
- is this two timeCode are synced?
(I understand that there is a delay between the two but are they counted in the same way based on the same stream? or counted individually?)
- it looks like
LiveStreamPacketizerCupertinoChunk.getStartTimecode()
might be just a sum of each ts’s duration… is it a sum of the ts chunk’s duration or the actual timecode
Thank you
Oli