diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-01-05 15:01:49 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-01-05 15:01:49 +0000 |
| commit | 5264f2cd003271ba2c426e21d62d13025dba177b (patch) | |
| tree | 6bd8cfab737f266a600a05f8d0bd13bafb49517c /lib/service/iservice.h | |
| parent | 211d70fe8a326748743da7642f8b1f3ca10adc94 (diff) | |
| download | enigma2-5264f2cd003271ba2c426e21d62d13025dba177b.tar.gz enigma2-5264f2cd003271ba2c426e21d62d13025dba177b.zip | |
add iStreamableService
Diffstat (limited to 'lib/service/iservice.h')
| -rw-r--r-- | lib/service/iservice.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h index ca84a410..3f7a9dc9 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -711,6 +711,25 @@ public: }; SWIG_TEMPLATE_TYPEDEF(ePtr<iPlayableService>, iPlayableServicePtr); +SWIG_IGNORE(iStreamableService); +class iStreamableService: public iObject +{ +#ifdef SWIG + iStreamableService(); + ~iStreamableService(); +#endif +public: + /* returns a dict: + { "demux": <n>, + "pids": [(x,type),(y,type),(z,type),..], + ... + } + with type being "video", "audio", "pmt", "pat"... + */ + virtual PyObject *getStreamingData()=0; +}; +SWIG_TEMPLATE_TYPEDEF(ePtr<iStreamableService>, iStreamableServicePtr); + class iRecordableService_ENUMS { #ifdef SWIG @@ -752,9 +771,11 @@ public: #endif virtual SWIG_VOID(RESULT) getError(int &SWIG_OUTPUT)=0; virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1)=0; + virtual RESULT prepareStreaming()=0; virtual RESULT start()=0; virtual RESULT stop()=0; virtual SWIG_VOID(RESULT) frontendInfo(ePtr<iFrontendInformation> &SWIG_OUTPUT)=0; + virtual SWIG_VOID(RESULT) stream(ePtr<iStreamableService> &SWIG_OUTPUT)=0; }; SWIG_TEMPLATE_TYPEDEF(ePtr<iRecordableService>, iRecordableServicePtr); |
