MythTV
master
|
#include <libmythtv/recorders/HLS/HLSSegment.h>
Public Member Functions | |
HLSRecSegment (void) | |
HLSRecSegment (const HLSRecSegment &rhs) | |
HLSRecSegment (int seq, std::chrono::seconds duration, QString title, QUrl uri) | |
HLSRecSegment (int seq, std::chrono::seconds duration, QString title, QUrl uri, const QString ¤t_key_path) | |
~HLSRecSegment () | |
HLSRecSegment & | operator= (const HLSRecSegment &rhs) |
bool | Download (QByteArray &buffer) |
int64_t | Sequence (void) const |
QString | Title (void) const |
QUrl | Url (void) const |
std::chrono::seconds | Duration (void) const |
QString | toString (void) const |
Protected Attributes | |
int64_t | m_sequence {0} |
std::chrono::seconds | m_duration {0s} |
uint64_t | m_bitrate {0} |
QString | m_title |
QUrl | m_url |
Friends | |
class | HLSReader |
Definition at line 11 of file HLSSegment.h.
HLSRecSegment::HLSRecSegment | ( | void | ) |
Definition at line 10 of file HLSSegment.cpp.
HLSRecSegment::HLSRecSegment | ( | const HLSRecSegment & | rhs | ) |
Definition at line 15 of file HLSSegment.cpp.
HLSRecSegment::HLSRecSegment | ( | int | seq, |
std::chrono::seconds | duration, | ||
QString | title, | ||
QUrl | uri | ||
) |
Definition at line 21 of file HLSSegment.cpp.
HLSRecSegment::HLSRecSegment | ( | int | seq, |
std::chrono::seconds | duration, | ||
QString | title, | ||
QUrl | uri, | ||
const QString & | current_key_path | ||
) |
HLSRecSegment::~HLSRecSegment | ( | ) |
Definition at line 60 of file HLSSegment.cpp.
HLSRecSegment & HLSRecSegment::operator= | ( | const HLSRecSegment & | rhs | ) |
Definition at line 44 of file HLSSegment.cpp.
Referenced by HLSRecSegment().
bool HLSRecSegment::Download | ( | QByteArray & | buffer | ) |
|
inline |
Definition at line 28 of file HLSSegment.h.
Referenced by HLSReader::DownloadSegmentData(), and HLSReader::LoadSegments().
|
inline |
Definition at line 29 of file HLSSegment.h.
|
inline |
Definition at line 30 of file HLSSegment.h.
Referenced by HLSReader::DownloadSegmentData().
|
inline |
Definition at line 31 of file HLSSegment.h.
Referenced by HLSReader::DownloadSegmentData().
QString HLSRecSegment::toString | ( | void | ) | const |
Definition at line 65 of file HLSSegment.cpp.
|
friend |
Definition at line 14 of file HLSSegment.h.
|
protected |
Definition at line 44 of file HLSSegment.h.
Referenced by operator=(), Sequence(), and toString().
|
protected |
Definition at line 45 of file HLSSegment.h.
Referenced by Duration(), operator=(), and toString().
|
protected |
Definition at line 46 of file HLSSegment.h.
Referenced by operator=().
|
protected |
Definition at line 47 of file HLSSegment.h.
Referenced by operator=(), Title(), and toString().
|
protected |
Definition at line 50 of file HLSSegment.h.
Referenced by operator=(), toString(), and Url().