| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <DVDInputStream.h>
  
Classes | |
| class | IChapter | 
| class | IDemux | 
| class | IDisplayTime | 
| class | IMenus | 
| class | IPosTime | 
| class | ITimes | 
| struct | PlaylistInformation | 
Public Types | |
| enum | ENextStream { NEXTSTREAM_NONE , NEXTSTREAM_OPEN , NEXTSTREAM_RETRY } | 
| enum class | UpdateState : uint8_t { NONE , FINISHED , NOT_PLAYED } | 
Public Member Functions | |
| CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem) | |
| virtual | ~CDVDInputStream () | 
| virtual bool | Open () | 
| virtual void | Close () | 
| virtual int | Read (uint8_t *buf, int buf_size)=0 | 
| virtual int64_t | Seek (int64_t offset, int whence)=0 | 
| virtual int64_t | GetLength ()=0 | 
| virtual std::string & | GetContent () | 
| virtual std::string | GetFileName () | 
| virtual CURL | GetURL () | 
| virtual ENextStream | NextStream () | 
| virtual void | Abort () | 
| virtual int | GetBlockSize () | 
| virtual bool | CanSeek () | 
| virtual bool | CanPause () | 
| 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 bool | IsEOF ()=0 | 
| virtual BitstreamStats | GetBitstreamStats () const | 
| bool | ContentLookup () | 
| virtual bool | IsRealtime () | 
| void | SetRealtime (bool realtime) | 
| virtual IDemux * | GetIDemux () | 
| virtual IPosTime * | GetIPosTime () | 
| virtual IDisplayTime * | GetIDisplayTime () | 
| virtual ITimes * | GetITimes () | 
| virtual IChapter * | GetIChapter () | 
| const CVariant & | GetProperty (const std::string &key) | 
| virtual void | SaveCurrentState (const CStreamDetails &details) | 
| virtual UpdateState | UpdateCurrentState (CFileItem &item, double time, bool &closed) | 
Static Public Member Functions | |
| static void | SavePlaylistDetails (std::vector< PlaylistInformation > &playedPlaylists, std::chrono::steady_clock::time_point startTime, const PlaylistInformation ¤tPlaylistInformation) | 
| static UpdateState | UpdatePlaylistDetails (DVDStreamType type, std::vector< PlaylistInformation > &playedPlaylists, CFileItem &item, double time, bool &closed) | 
Protected Attributes | |
| DVDStreamType | m_streamType | 
| BitstreamStats | m_stats | 
| std::string | m_content | 
| CFileItem | m_item | 
| bool | m_contentLookup | 
| bool | m_realtime | 
      
  | 
  strong | 
| CDVDInputStream::CDVDInputStream | ( | DVDStreamType | m_streamType, | 
| const CFileItem & | fileitem ) | 
      
  | 
  virtualdefault | 
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, CDVDInputStreamFFmpeg, and CInputStreamMultiSource.
      
  | 
  inlinevirtual | 
Reimplemented in CInputStreamAddon, and CInputStreamPVRBase.
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, CInputStreamAddon, and CInputStreamPVRBase.
      
  | 
  virtual | 
      
  | 
  inline | 
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamFile, and CInputStreamMultiSource.
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, CDVDInputStreamFile, CDVDInputStreamNavigator, CInputStreamAddon, CInputStreamMultiSource, and CInputStreamPVRBase.
      
  | 
  inlinevirtual | 
Get the cache status.
Reimplemented in CDVDInputStreamFile, and CInputStreamMultiSource.
      
  | 
  inlinevirtual | 
      
  | 
  virtual | 
Reimplemented in CDVDInputStreamFFmpeg.
      
  | 
  inlinevirtual | 
Reimplemented in CInputStreamAddon.
      
  | 
  inlinevirtual | 
Reimplemented in CInputStreamAddon, CInputStreamPVRBase, and CInputStreamPVRChannel.
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, CDVDInputStreamNavigator, and CInputStreamAddon.
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, CDVDInputStreamNavigator, and CInputStreamAddon.
      
  | 
  inlinevirtual | 
Reimplemented in CInputStreamAddon, and CInputStreamPVRBase.
      
  | 
  pure virtual | 
      
  | 
  inline | 
      
  | 
  virtual | 
      
  | 
  pure virtual | 
      
  | 
  inlinevirtual | 
Reimplemented in CInputStreamAddon, and CInputStreamPVRBase.
      
  | 
  inline | 
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, CDVDInputStreamNavigator, CInputStreamMultiSource, and CInputStreamPVRBase.
      
  | 
  virtual | 
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, and CDVDInputStreamNavigator.
      
  | 
  static | 
      
  | 
  inlinevirtual | 
Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint.
Reimplemented in CDVDInputStreamFile, and CInputStreamMultiSource.
      
  | 
  inlinevirtual | 
Reimplemented in CDVDInputStreamBluray, and CDVDInputStreamNavigator.
      
  | 
  static | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |