Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CInputStreamPVRChannel Class Reference

#include <InputStreamPVRChannel.h>

Inheritance diagram for CInputStreamPVRChannel:
CInputStreamPVRBase CDVDInputStream CDVDInputStream::ITimes CDVDInputStream::IDemux

Public Member Functions

 CInputStreamPVRChannel (IVideoPlayer *pPlayer, const CFileItem &fileitem)
 
 ~CInputStreamPVRChannel () override
 
CDVDInputStream::IDemuxGetIDemux () override
 
- Public Member Functions inherited from CInputStreamPVRBase
 CInputStreamPVRBase (IVideoPlayer *pPlayer, const CFileItem &fileitem)
 
 ~CInputStreamPVRBase () override
 
bool Open () override
 
void Close () override
 
int Read (uint8_t *buf, int buf_size) override
 
int64_t Seek (int64_t offset, int whence) override
 
bool IsEOF () override
 
int64_t GetLength () override
 
int GetBlockSize () override
 
ENextStream NextStream () override
 
bool IsRealtime () override
 
CDVDInputStream::ITimesGetITimes () override
 
bool GetTimes (Times &times) override
 
bool CanSeek () override
 
bool CanPause () override
 
void Pause (bool bPaused)
 
bool OpenDemux () override
 
DemuxPacketReadDemux () override
 
CDemuxStreamGetStream (int iStreamId) const override
 
std::vector< CDemuxStream * > GetStreams () const override
 
int GetNrOfStreams () const override
 
void SetSpeed (int iSpeed) override
 
void FillBuffer (bool mode) override
 
bool SeekTime (double time, bool backward=false, double *startpts=NULL) override
 
void AbortDemux () override
 
void FlushDemux () override
 
- Public Member Functions inherited from CDVDInputStream
 CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem)
 
virtual ~CDVDInputStream ()
 
virtual std::string & GetContent ()
 
virtual std::string GetFileName ()
 
virtual CURL GetURL ()
 
virtual void Abort ()
 
virtual void SetReadRate (uint32_t rate)
 Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint.
 
virtual bool GetCacheStatus (XFILE::SCacheStatus *status)
 Get the cache status.
 
bool IsStreamType (DVDStreamType type) const
 
virtual BitstreamStats GetBitstreamStats () const
 
bool ContentLookup ()
 
void SetRealtime (bool realtime)
 
virtual IPosTimeGetIPosTime ()
 
virtual IDisplayTimeGetIDisplayTime ()
 
virtual IChapterGetIChapter ()
 
const CVariantGetProperty (const std::string &key)
 
- Public Member Functions inherited from CDVDInputStream::ITimes
virtual ~ITimes ()=default
 
- Public Member Functions inherited from CDVDInputStream::IDemux
virtual ~IDemux ()=default
 
virtual void EnableStream (int iStreamId, bool enable)
 
virtual bool OpenStream (int iStreamId)
 
virtual void SetVideoResolution (unsigned int width, unsigned int height, unsigned int maxWidth, unsigned int maxHeight)
 

Protected Member Functions

bool OpenPVRStream () override
 
void ClosePVRStream () override
 
int ReadPVRStream (uint8_t *buf, int buf_size) override
 
int64_t SeekPVRStream (int64_t offset, int whence) override
 
int64_t GetPVRStreamLength () override
 
ENextStream NextPVRStream () override
 
bool CanPausePVRStream () override
 
bool CanSeekPVRStream () override
 
bool IsRealtimePVRStream () override
 
void PausePVRStream (bool paused) override
 
bool GetPVRStreamTimes (Times &times) override
 
- Protected Member Functions inherited from CInputStreamPVRBase
void UpdateStreamMap ()
 
std::shared_ptr< CDemuxStreamGetStreamInternal (int iStreamId)
 

Additional Inherited Members

- Public Types inherited from CDVDInputStream
enum  ENextStream { NEXTSTREAM_NONE , NEXTSTREAM_OPEN , NEXTSTREAM_RETRY }
 
- Protected Attributes inherited from CInputStreamPVRBase
bool m_eof = true
 
std::shared_ptr< PVR_STREAM_PROPERTIESm_StreamProps
 
std::map< int, std::shared_ptr< CDemuxStream > > m_streamMap
 
std::shared_ptr< PVR::CPVRClientm_client
 
bool m_isOpen {false}
 
- Protected Attributes inherited from CDVDInputStream
DVDStreamType m_streamType
 
BitstreamStats m_stats
 
std::string m_content
 
CFileItem m_item
 
bool m_contentLookup
 
bool m_realtime
 

Constructor & Destructor Documentation

◆ CInputStreamPVRChannel()

CInputStreamPVRChannel::CInputStreamPVRChannel ( IVideoPlayer * pPlayer,
const CFileItem & fileitem )

◆ ~CInputStreamPVRChannel()

CInputStreamPVRChannel::~CInputStreamPVRChannel ( )
override

Member Function Documentation

◆ CanPausePVRStream()

bool CInputStreamPVRChannel::CanPausePVRStream ( )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ CanSeekPVRStream()

bool CInputStreamPVRChannel::CanSeekPVRStream ( )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ ClosePVRStream()

void CInputStreamPVRChannel::ClosePVRStream ( )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ GetIDemux()

CDVDInputStream::IDemux * CInputStreamPVRChannel::GetIDemux ( )
overridevirtual

Reimplemented from CInputStreamPVRBase.

◆ GetPVRStreamLength()

int64_t CInputStreamPVRChannel::GetPVRStreamLength ( )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ GetPVRStreamTimes()

bool CInputStreamPVRChannel::GetPVRStreamTimes ( Times & times)
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ IsRealtimePVRStream()

bool CInputStreamPVRChannel::IsRealtimePVRStream ( )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ NextPVRStream()

CDVDInputStream::ENextStream CInputStreamPVRChannel::NextPVRStream ( )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ OpenPVRStream()

bool CInputStreamPVRChannel::OpenPVRStream ( )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ PausePVRStream()

void CInputStreamPVRChannel::PausePVRStream ( bool paused)
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ ReadPVRStream()

int CInputStreamPVRChannel::ReadPVRStream ( uint8_t * buf,
int buf_size )
overrideprotectedvirtual

Implements CInputStreamPVRBase.

◆ SeekPVRStream()

int64_t CInputStreamPVRChannel::SeekPVRStream ( int64_t offset,
int whence )
overrideprotectedvirtual

Implements CInputStreamPVRBase.


The documentation for this class was generated from the following files: