Times of playing stream (Live TV and recordings)
This class is used to transfer the necessary data when kodi::addon::PVRStreamProperties::GetStreamTimes is called.
The following table contains values that can be set with class PVRStreamTimes :
◆ SetStartTime()
void SetStartTime |
( |
time_t |
startTime | ) |
|
|
inline |
For recordings, this must be zero. For Live TV, this is a reference time in units of time_t (UTC) from which time elapsed starts. Ideally start of tv show, but can be any other value.
◆ GetStartTime()
time_t GetStartTime |
( |
| ) |
const |
|
inline |
◆ SetPTSStart()
void SetPTSStart |
( |
int64_t |
ptsStart | ) |
|
|
inline |
◆ GetPTSStart()
int64_t GetPTSStart |
( |
| ) |
const |
|
inline |
◆ SetPTSBegin()
void SetPTSBegin |
( |
int64_t |
ptsBegin | ) |
|
|
inline |
Earliest pts player can seek back. Value is in micro seconds, relative to PTS start. For recordings, this must be zero. For Live TV, this must be zero if not timeshifting and must point to begin of the timeshift buffer, otherwise.
◆ GetPTSBegin()
int64_t GetPTSBegin |
( |
| ) |
const |
|
inline |
◆ SetPTSEnd()
void SetPTSEnd |
( |
int64_t |
ptsEnd | ) |
|
|
inline |
Latest pts player can seek forward. Value is in micro seconds, relative to PTS start. For recordings, this must be the total length. For Live TV, this must be zero if not timeshifting and must point to end of the timeshift buffer, otherwise.
◆ GetPTSEnd()
int64_t GetPTSEnd |
( |
| ) |
const |
|
inline |