18 HLSRecSegment(
int seq, std::chrono::seconds duration, QString title,
20 HLSRecSegment(
int seq, std::chrono::seconds duration, QString title,
21 QUrl uri,
const QString& current_key_path);
35 #ifdef USING_LIBCRYPTO
36 bool DownloadKey(
void);
37 bool DecodeData(
const uint8_t *IV, QByteArray& data);
38 bool HasKeyPath(
void)
const {
return !m_psz_key_path.isEmpty(); }
39 QString KeyPath(
void)
const {
return m_psz_key_path; }
40 void SetKeyPath(
const QString& path) { m_psz_key_path = path; }
52 #ifdef USING_LIBCRYPTO
53 QString m_psz_key_path;
58 #endif // HLS_SEGMENT_H