|
| | HLSStream (const int mid, const uint64_t bitrate, QString uri) |
| |
| | HLSStream (const HLSStream &rhs, bool copy=true) |
| |
| | ~HLSStream () |
| |
| HLSStream & | operator= (const HLSStream &rhs) |
| |
| bool | operator< (const HLSStream &b) const |
| |
| bool | operator> (const HLSStream &b) const |
| |
| uint64_t | Size (bool force=false) |
| | Return the estimated size of the stream in bytes if a segment hasn't been downloaded, its size is estimated according to the bandwidth of the stream. More...
|
| |
| std::chrono::seconds | Duration (void) |
| |
| void | Clear (void) |
| |
| int | NumSegments (void) const |
| |
| void | AppendSegment (HLSSegment *segment) |
| |
| HLSSegment * | GetSegment (const int wanted) const |
| |
| HLSSegment * | FindSegment (const int id, int *segnum=nullptr) const |
| |
| void | AddSegment (const std::chrono::seconds duration, const QString &title, const QString &uri) |
| |
| void | RemoveSegment (HLSSegment *segment, bool willdelete=true) |
| |
| void | RemoveSegment (int segnum, bool willdelete=true) |
| |
| void | RemoveListSegments (QHash< HLSSegment *, bool > &table) |
| |
| int | DownloadSegmentData (int segnum, uint64_t &bandwidth, int stream) |
| |
| int | Id (void) const |
| |
| int | Version (void) const |
| |
| void | SetVersion (int x) |
| |
| int | StartSequence (void) const |
| |
| void | SetStartSequence (int x) |
| |
| std::chrono::seconds | TargetDuration (void) const |
| |
| void | SetTargetDuration (std::chrono::seconds x) |
| |
| uint64_t | Bitrate (void) const |
| |
| bool | Cache (void) const |
| |
| void | SetCache (bool x) |
| |
| bool | Live (void) const |
| |
| void | SetLive (bool x) |
| |
| void | Lock (void) |
| |
| void | Unlock (void) |
| |
| QString | Url (void) const |
| |
| void | UpdateWith (const HLSStream &upd) |
| |
| void | Cancel (void) |
| |
Definition at line 463 of file httplivestreambuffer.cpp.
◆ HLSStream() [1/2]
| HLSStream::HLSStream |
( |
const int |
mid, |
|
|
const uint64_t |
bitrate, |
|
|
QString |
uri |
|
) |
| |
|
inline |
◆ HLSStream() [2/2]
◆ ~HLSStream()
| HLSStream::~HLSStream |
( |
| ) |
|
|
inline |
◆ AddSegment()
| void HLSStream::AddSegment |
( |
const std::chrono::seconds |
duration, |
|
|
const QString & |
title, |
|
|
const QString & |
uri |
|
) |
| |
|
inline |
◆ AppendSegment()
| void HLSStream::AppendSegment |
( |
HLSSegment * |
segment | ) |
|
|
inline |
◆ Bitrate()
| uint64_t HLSStream::Bitrate |
( |
void |
| ) |
const |
|
inline |
Definition at line 796 of file httplivestreambuffer.cpp.
Referenced by StreamWorker::BandwidthAdaptation(), HLSRingBuffer::FindStream(), HLSRingBuffer::GetSegment(), IsGreater(), HLSRingBuffer::OpenFile(), operator<(), operator>(), PlaylistWorker::ReloadPlaylist(), StreamWorker::run(), HLSRingBuffer::SeekInternal(), Size(), and PlaylistWorker::UpdatePlaylist().
◆ Cache()
| bool HLSStream::Cache |
( |
void |
| ) |
const |
|
inline |
◆ Cancel()
| void HLSStream::Cancel |
( |
void |
| ) |
|
|
inline |
◆ Clear()
| void HLSStream::Clear |
( |
void |
| ) |
|
|
inline |
◆ DownloadSegmentData()
| int HLSStream::DownloadSegmentData |
( |
int |
segnum, |
|
|
uint64_t & |
bandwidth, |
|
|
int |
stream |
|
) |
| |
|
inline |
◆ Duration()
| std::chrono::seconds HLSStream::Duration |
( |
void |
| ) |
|
|
inline |
◆ FindSegment()
| HLSSegment * HLSStream::FindSegment |
( |
const int |
id, |
|
|
int * |
segnum = nullptr |
|
) |
| const |
|
inline |
◆ GetSegment()
| HLSSegment * HLSStream::GetSegment |
( |
const int |
wanted | ) |
const |
|
inline |
◆ Id()
| int HLSStream::Id |
( |
void |
| ) |
const |
|
inline |
◆ IsGreater()
◆ Live()
| bool HLSStream::Live |
( |
void |
| ) |
const |
|
inline |
◆ Lock()
| void HLSStream::Lock |
( |
void |
| ) |
|
|
inline |
◆ NumSegments()
| int HLSStream::NumSegments |
( |
void |
| ) |
const |
|
inline |
◆ operator<()
| bool HLSStream::operator< |
( |
const HLSStream & |
b | ) |
const |
|
inline |
◆ operator=()
◆ operator>()
| bool HLSStream::operator> |
( |
const HLSStream & |
b | ) |
const |
|
inline |
◆ RemoveListSegments()
| void HLSStream::RemoveListSegments |
( |
QHash< HLSSegment *, bool > & |
table | ) |
|
|
inline |
◆ RemoveSegment() [1/2]
| void HLSStream::RemoveSegment |
( |
HLSSegment * |
segment, |
|
|
bool |
willdelete = true |
|
) |
| |
|
inline |
◆ RemoveSegment() [2/2]
| void HLSStream::RemoveSegment |
( |
int |
segnum, |
|
|
bool |
willdelete = true |
|
) |
| |
|
inline |
◆ SetCache()
| void HLSStream::SetCache |
( |
bool |
x | ) |
|
|
inline |
◆ SetLive()
| void HLSStream::SetLive |
( |
bool |
x | ) |
|
|
inline |
◆ SetStartSequence()
| void HLSStream::SetStartSequence |
( |
int |
x | ) |
|
|
inline |
◆ SetTargetDuration()
| void HLSStream::SetTargetDuration |
( |
std::chrono::seconds |
x | ) |
|
|
inline |
◆ SetVersion()
| void HLSStream::SetVersion |
( |
int |
x | ) |
|
|
inline |
◆ Size()
| uint64_t HLSStream::Size |
( |
bool |
force = false | ) |
|
|
inline |
Return the estimated size of the stream in bytes if a segment hasn't been downloaded, its size is estimated according to the bandwidth of the stream.
Definition at line 538 of file httplivestreambuffer.cpp.
◆ StartSequence()
| int HLSStream::StartSequence |
( |
void |
| ) |
const |
|
inline |
◆ TargetDuration()
| std::chrono::seconds HLSStream::TargetDuration |
( |
void |
| ) |
const |
|
inline |
◆ Unlock()
| void HLSStream::Unlock |
( |
void |
| ) |
|
|
inline |
◆ UpdateWith()
| void HLSStream::UpdateWith |
( |
const HLSStream & |
upd | ) |
|
|
inline |
◆ Url()
| QString HLSStream::Url |
( |
void |
| ) |
const |
|
inline |
◆ Version()
| int HLSStream::Version |
( |
void |
| ) |
const |
|
inline |
◆ m_bitrate
| uint64_t HLSStream::m_bitrate {0LL} |
|
private |
◆ m_cache
| bool HLSStream::m_cache {true} |
|
private |
◆ m_duration
| std::chrono::seconds HLSStream::m_duration {0s} |
|
private |
◆ m_id
◆ m_live
| bool HLSStream::m_live {true} |
|
private |
◆ m_lock
◆ m_segments
◆ m_size
| uint64_t HLSStream::m_size {0LL} |
|
private |
◆ m_startsequence
| int HLSStream::m_startsequence {0} |
|
private |
◆ m_targetduration
| std::chrono::seconds HLSStream::m_targetduration {-1s} |
|
private |
◆ m_url
◆ m_version
| int HLSStream::m_version {1} |
|
private |
The documentation for this class was generated from the following file: