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

#include <InputStreamMultiSource.h>

Inheritance diagram for CInputStreamMultiSource:
InputStreamMultiStreams CDVDInputStream

Public Member Functions

 CInputStreamMultiSource (IVideoPlayer *pPlayer, const CFileItem &fileitem, const std::vector< std::string > &filenames)
 
 ~CInputStreamMultiSource () override
 
void Abort () override
 
void Close () override
 
BitstreamStats GetBitstreamStats () const override
 
int GetBlockSize () override
 
bool GetCacheStatus (XFILE::SCacheStatus *status) override
 Get the cache status.
 
int64_t GetLength () override
 
bool IsEOF () override
 
CDVDInputStream::ENextStream NextStream () override
 
bool Open () override
 
int Read (uint8_t *buf, int buf_size) override
 
int64_t Seek (int64_t offset, int whence) override
 
void SetReadRate (uint32_t rate) override
 Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint.
 
- Public Member Functions inherited from InputStreamMultiStreams
 InputStreamMultiStreams (DVDStreamType type, const CFileItem &fileitem)
 
 ~InputStreamMultiStreams () override=default
 
- 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 bool CanSeek ()
 
virtual bool CanPause ()
 
bool IsStreamType (DVDStreamType type) const
 
bool ContentLookup ()
 
virtual bool IsRealtime ()
 
void SetRealtime (bool realtime)
 
virtual IDemuxGetIDemux ()
 
virtual IPosTimeGetIPosTime ()
 
virtual IDisplayTimeGetIDisplayTime ()
 
virtual ITimesGetITimes ()
 
virtual IChapterGetIChapter ()
 
const CVariantGetProperty (const std::string &key)
 

Protected Attributes

IVideoPlayerm_pPlayer
 
std::vector< std::string > m_filenames
 
- Protected Attributes inherited from InputStreamMultiStreams
std::vector< InputStreamPtrm_InputStreams
 
- Protected Attributes inherited from CDVDInputStream
DVDStreamType m_streamType
 
BitstreamStats m_stats
 
std::string m_content
 
CFileItem m_item
 
bool m_contentLookup
 
bool m_realtime
 

Additional Inherited Members

- Public Types inherited from CDVDInputStream
enum  ENextStream { NEXTSTREAM_NONE , NEXTSTREAM_OPEN , NEXTSTREAM_RETRY }
 

Constructor & Destructor Documentation

◆ CInputStreamMultiSource()

CInputStreamMultiSource::CInputStreamMultiSource ( IVideoPlayer * pPlayer,
const CFileItem & fileitem,
const std::vector< std::string > & filenames )

◆ ~CInputStreamMultiSource()

CInputStreamMultiSource::~CInputStreamMultiSource ( )
override

Member Function Documentation

◆ Abort()

void CInputStreamMultiSource::Abort ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ Close()

void CInputStreamMultiSource::Close ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ GetBitstreamStats()

BitstreamStats CInputStreamMultiSource::GetBitstreamStats ( ) const
overridevirtual

Reimplemented from CDVDInputStream.

◆ GetBlockSize()

int CInputStreamMultiSource::GetBlockSize ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ GetCacheStatus()

bool CInputStreamMultiSource::GetCacheStatus ( XFILE::SCacheStatus * status)
overridevirtual

Get the cache status.

Returns
true when cache status was successfully obtained

Reimplemented from CDVDInputStream.

◆ GetLength()

int64_t CInputStreamMultiSource::GetLength ( )
overridevirtual

Implements CDVDInputStream.

◆ IsEOF()

bool CInputStreamMultiSource::IsEOF ( )
overridevirtual

Implements CDVDInputStream.

◆ NextStream()

CDVDInputStream::ENextStream CInputStreamMultiSource::NextStream ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ Open()

bool CInputStreamMultiSource::Open ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ Read()

int CInputStreamMultiSource::Read ( uint8_t * buf,
int buf_size )
overridevirtual

Implements CDVDInputStream.

◆ Seek()

int64_t CInputStreamMultiSource::Seek ( int64_t offset,
int whence )
overridevirtual

Implements CDVDInputStream.

◆ SetReadRate()

void CInputStreamMultiSource::SetReadRate ( uint32_t rate)
overridevirtual

Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint.

Reimplemented from CDVDInputStream.

Member Data Documentation

◆ m_filenames

std::vector<std::string> CInputStreamMultiSource::m_filenames
protected

◆ m_pPlayer

IVideoPlayer* CInputStreamMultiSource::m_pPlayer
protected

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