MythTV
master
|
Public Member Functions | |
HLSSegment (const int mduration, const int id, const QString &title, const QString &uri, const QString ¤t_key_path) | |
~HLSSegment ()=default | |
HLSSegment (const HLSSegment &rhs) | |
HLSSegment & | operator= (const HLSSegment &rhs) |
int | Duration (void) const |
int | Id (void) const |
void | Lock (void) |
void | Unlock (void) |
bool | IsEmpty (void) const |
int32_t | Size (void) const |
int | Download (void) |
void | CancelDownload (void) |
QString | Url (void) const |
int32_t | SizePlayed (void) const |
uint32_t | Read (uint8_t *buffer, int32_t length, FILE *fd=nullptr) |
void | Reset (void) |
void | Clear (void) |
QString | Title (void) const |
void | SetTitle (const QString &x) |
const char * | Data (void) const |
provides pointer to raw segment data More... | |
Private Attributes | |
int | m_id {0} |
int | m_duration {0} |
uint64_t | m_bitrate {0} |
QString | m_title |
QString | m_url |
QByteArray | m_data |
int32_t | m_played {0} |
QMutex | m_lock |
bool | m_downloading {false} |
Definition at line 124 of file httplivestreambuffer.cpp.
|
inline |
Definition at line 127 of file httplivestreambuffer.cpp.
|
default |
|
inline |
Definition at line 143 of file httplivestreambuffer.cpp.
|
inline |
Definition at line 148 of file httplivestreambuffer.cpp.
|
inline |
Definition at line 169 of file httplivestreambuffer.cpp.
Referenced by HLSRingBuffer::ChooseSegment(), HLSStream::DownloadSegmentData(), HLSRingBuffer::DurationForBytes(), HLSStream::RemoveSegment(), HLSRingBuffer::SeekInternal(), HLSStream::Size(), and PlaylistWorker::UpdatePlaylist().
|
inline |
Definition at line 174 of file httplivestreambuffer.cpp.
Referenced by HLSRingBuffer::ChooseSegment(), HLSStream::DownloadSegmentData(), HLSStream::FindSegment(), HLSRingBuffer::GetSegment(), HLSRingBuffer::SafeRead(), and PlaylistWorker::UpdatePlaylist().
|
inline |
Definition at line 179 of file httplivestreambuffer.cpp.
Referenced by HLSStream::DownloadSegmentData(), HLSRingBuffer::SafeRead(), HLSRingBuffer::SeekInternal(), HLSStream::Size(), and PlaylistWorker::UpdatePlaylist().
|
inline |
Definition at line 184 of file httplivestreambuffer.cpp.
Referenced by HLSStream::DownloadSegmentData(), HLSRingBuffer::SafeRead(), HLSRingBuffer::SeekInternal(), HLSStream::Size(), and PlaylistWorker::UpdatePlaylist().
|
inline |
Definition at line 189 of file httplivestreambuffer.cpp.
Referenced by HLSStream::DownloadSegmentData().
|
inline |
Definition at line 194 of file httplivestreambuffer.cpp.
Referenced by HLSStream::DownloadSegmentData(), HLSRingBuffer::DurationForBytes(), HLSRingBuffer::SafeRead(), HLSRingBuffer::SaveToDisk(), HLSRingBuffer::SeekInternal(), and HLSStream::Size().
|
inline |
Definition at line 199 of file httplivestreambuffer.cpp.
Referenced by HLSStream::DownloadSegmentData().
|
inline |
Definition at line 214 of file httplivestreambuffer.cpp.
|
inline |
Definition at line 224 of file httplivestreambuffer.cpp.
Referenced by PlaylistWorker::UpdatePlaylist().
|
inline |
Definition at line 229 of file httplivestreambuffer.cpp.
Referenced by HLSRingBuffer::SafeRead().
|
inline |
Definition at line 234 of file httplivestreambuffer.cpp.
Referenced by HLSRingBuffer::SafeRead(), and HLSRingBuffer::SeekInternal().
|
inline |
Definition at line 254 of file httplivestreambuffer.cpp.
Referenced by HLSRingBuffer::SafeRead(), and HLSRingBuffer::SeekInternal().
|
inline |
Definition at line 259 of file httplivestreambuffer.cpp.
Referenced by HLSRingBuffer::SafeRead().
|
inline |
Definition at line 265 of file httplivestreambuffer.cpp.
|
inline |
Definition at line 269 of file httplivestreambuffer.cpp.
|
inline |
provides pointer to raw segment data
Definition at line 276 of file httplivestreambuffer.cpp.
Referenced by HLSRingBuffer::SaveToDisk().
|
private |
Definition at line 387 of file httplivestreambuffer.cpp.
Referenced by HLSSegment(), Id(), and operator=().
|
private |
Definition at line 388 of file httplivestreambuffer.cpp.
Referenced by Duration(), HLSSegment(), and operator=().
|
private |
Definition at line 389 of file httplivestreambuffer.cpp.
Referenced by operator=().
|
private |
Definition at line 390 of file httplivestreambuffer.cpp.
Referenced by HLSSegment(), operator=(), SetTitle(), and Title().
|
private |
Definition at line 392 of file httplivestreambuffer.cpp.
Referenced by CancelDownload(), Download(), HLSSegment(), operator=(), and Url().
|
private |
Definition at line 393 of file httplivestreambuffer.cpp.
Referenced by Clear(), Data(), Download(), IsEmpty(), Read(), and Size().
|
private |
Definition at line 394 of file httplivestreambuffer.cpp.
Referenced by Clear(), Read(), Reset(), and SizePlayed().
|
private |
Definition at line 395 of file httplivestreambuffer.cpp.
Referenced by CancelDownload(), Lock(), and Unlock().
Definition at line 396 of file httplivestreambuffer.cpp.
Referenced by CancelDownload(), Download(), and operator=().