25 #ifndef FRAGMENTCOLLECTOR_PROGRESSIVE_H_
26 #define FRAGMENTCOLLECTOR_PROGRESSIVE_H_
62 void DumpProfiles(
void)
override;
67 void Start()
override;
72 void Stop(
bool clearChannelData)
override;
94 double GetStreamPosition()
override;
107 double GetFirstPTS()
override;
113 double GetStartTimeOfFirstPTS()
override;
118 double GetBufferedDuration()
override;
123 bool IsInitialCachingSupported()
override;
128 int GetBWIndex(
long bitrate)
override;
133 std::vector<long> GetVideoBitrates(
void)
override;
138 std::vector<long> GetAudioBitrates(
void)
override;
143 long GetMaxBitrate(
void)
override;
147 void StopInjection(
void)
override;
151 void StartInjection(
void)
override;
162 std::vector<StreamInfo*> GetAvailableVideoTracks(
void)
override;
167 std::vector<StreamInfo*> GetAvailableThumbnailTracks(
void)
override;
174 bool SetThumbnailTrack(
int)
override;
179 std::vector<ThumbnailData> GetThumbnailRangeData(
double,
double, std::string*,
int*,
int*,
int*,
int*)
override;
188 bool Is4KStream(
int &height,
long &bandwidth)
override {
return false; };
198 void StreamFile(
const char *uri,
long *http_error );
199 bool fragmentCollectorThreadStarted;
200 pthread_t fragmentCollectorThreadID;
203 #endif //FRAGMENTCOLLECTOR_PROGRESSIVE_H_