Closed Koryakov closed 9 years ago
+1 I'm also interested in obtaining pts values
PTS values for MPEG2-TS streams do not start from zero on many encoders so this wouldn't be a general-purpose mechanism for determining the start time of a live stream. Most people I've heard about who do this find an out-of-band way of signaling the live stream start time to their app, e.g. an API endpoint somewhere that returns a datetime. Closing this based on the original problem statement but if there's another use-case for PTS values, please feel free to keep commenting here.
Hi All! I want implement realtime voting for HLS stream from cdn. My stream runs on Wowza Streaming Engine and I investigated that segment contains pts time counted from publishing time. My idea is storing minPts of first downloaded segment:
But for this scenario I need to change videojs.Hls code for adding firstRunPtsTime , because ptsTime is private function variable. I will be grateful for solution or ideas!