mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	added XBMC support by extending VTP capabilities (thanks to Alwin Esch)
Modified Files: CONTRIBUTORS HISTORY Makefile common.h server/connectionVTP.c server/connectionVTP.h
This commit is contained in:
		| @@ -34,6 +34,7 @@ Rolf Ahrenberg | ||||
|   for replacing private members by cThread::Running()/Active() | ||||
|   for improving externremux script termination | ||||
|   for fixing PAT repacker version field | ||||
|   for correcting LIMIKUUTIO patch detection | ||||
|  | ||||
| Rantanen Teemu | ||||
|   for providing vdr-incompletesections.diff | ||||
| @@ -116,3 +117,6 @@ Joachim K | ||||
|  | ||||
| Artem Makhutov | ||||
|   for suggesting and heavy testing IGMP based multicast streaming | ||||
|  | ||||
| Alwin Esch | ||||
|   for adding XBMC support by extending VTP capabilities | ||||
|   | ||||
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -1,6 +1,7 @@ | ||||
| VDR Plugin 'streamdev' Revision History | ||||
| --------------------------------------- | ||||
|  | ||||
| - added XBMC support by extending VTP capabilities (thanks to Alwin Esch) | ||||
| - now there's a common baseclass for all remuxers, make use of it | ||||
| - added cDevice::NumProvidedSystems() which was introduced in VDR 1.7.0 | ||||
| - added namespace to remuxers | ||||
|   | ||||
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # Makefile for a Video Disk Recorder plugin | ||||
| # | ||||
| # $Id: Makefile,v 1.18 2009/06/19 06:32:38 schmirl Exp $ | ||||
| # $Id: Makefile,v 1.19 2009/07/01 10:46:15 schmirl Exp $ | ||||
|  | ||||
| # The official name of this plugin. | ||||
| # This name will be used in the '-P...' option of VDR to load the plugin. | ||||
| @@ -61,7 +61,7 @@ SERVEROBJS = $(PLUGIN)-server.o \ | ||||
| 	server/componentVTP.o server/componentHTTP.o server/componentIGMP.o \ | ||||
| 	server/connectionVTP.o server/connectionHTTP.o server/connectionIGMP.o \ | ||||
| 	server/streamer.o server/livestreamer.o server/livefilter.o \ | ||||
| 	server/suspend.o server/setup.o server/menuHTTP.o \ | ||||
| 	server/suspend.o server/setup.o server/menuHTTP.o server/recplayer.o \ | ||||
| 	remux/tsremux.o remux/ts2pes.o remux/ts2ps.o remux/ts2es.o remux/extern.o | ||||
| 	 | ||||
| ifdef DEBUG | ||||
|   | ||||
							
								
								
									
										3
									
								
								common.h
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								common.h
									
									
									
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
|  *  $Id: common.h,v 1.13 2009/06/19 06:32:38 schmirl Exp $ | ||||
|  *  $Id: common.h,v 1.14 2009/07/01 10:46:16 schmirl Exp $ | ||||
|  */ | ||||
|   | ||||
| #ifndef VDR_STREAMDEV_COMMON_H | ||||
| @@ -72,6 +72,7 @@ enum eSocketId { | ||||
| 	siLive, | ||||
| 	siReplay, | ||||
| 	siLiveFilter, | ||||
| 	siDataRespond, | ||||
| 	si_Count | ||||
| }; | ||||
|  | ||||
|   | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -2,6 +2,7 @@ | ||||
| #define VDR_STREAMDEV_SERVERS_CONNECTIONVTP_H | ||||
|  | ||||
| #include "server/connection.h" | ||||
| #include "server/recplayer.h" | ||||
|  | ||||
| class cTBSocket; | ||||
| class cStreamdevLiveStreamer; | ||||
| @@ -9,6 +10,7 @@ class cStreamdevFilterStreamer; | ||||
| class cLSTEHandler; | ||||
| class cLSTCHandler; | ||||
| class cLSTTHandler; | ||||
| class cLSTRHandler; | ||||
|  | ||||
| class cConnectionVTP: public cServerConnection { | ||||
| 	friend class cLSTEHandler; | ||||
| @@ -21,16 +23,19 @@ private: | ||||
| 	cStreamdevLiveStreamer   *m_LiveStreamer; | ||||
| 	cTBSocket                *m_FilterSocket; | ||||
| 	cStreamdevFilterStreamer *m_FilterStreamer; | ||||
| 	cTBSocket                *m_RecSocket; | ||||
| 	cTBSocket                *m_DataSocket; | ||||
|  | ||||
| 	char                   *m_LastCommand; | ||||
| 	eStreamType             m_StreamType; | ||||
| 	bool                    m_FiltersSupport; | ||||
| 	RecPlayer              *m_RecPlayer; | ||||
|  | ||||
| 	// Members adopted for SVDRP | ||||
| 	cRecordings Recordings; | ||||
| 	cLSTEHandler *m_LSTEHandler; | ||||
| 	cLSTCHandler *m_LSTCHandler; | ||||
| 	cLSTTHandler *m_LSTTHandler; | ||||
| 	cLSTRHandler *m_LSTRHandler; | ||||
|  | ||||
| protected: | ||||
| 	template<class cHandler> | ||||
| @@ -51,7 +56,9 @@ public: | ||||
| 	bool CmdCAPS(char *Opts); | ||||
| 	bool CmdPROV(char *Opts); | ||||
| 	bool CmdPORT(char *Opts); | ||||
| 	bool CmdREAD(char *Opts); | ||||
| 	bool CmdTUNE(char *Opts); | ||||
| 	bool CmdPLAY(char *Opts); | ||||
| 	bool CmdADDP(char *Opts); | ||||
| 	bool CmdDELP(char *Opts); | ||||
| 	bool CmdADDF(char *Opts); | ||||
| @@ -64,14 +71,20 @@ public: | ||||
| 	bool CmdLSTE(char *Opts); | ||||
| 	bool CmdLSTC(char *Opts); | ||||
| 	bool CmdLSTT(char *Opts); | ||||
| 	bool CmdLSTR(char *Opts); | ||||
|  | ||||
| 	// Commands adopted from SVDRP | ||||
| 	bool CmdSTAT(const char *Option); | ||||
| 	bool CmdMODT(const char *Option); | ||||
| 	bool CmdNEWT(const char *Option); | ||||
| 	bool CmdDELT(const char *Option); | ||||
|  | ||||
| 	//bool CmdLSTR(char *Opts); | ||||
| 	//bool CmdDELR(char *Opts); | ||||
| 	bool CmdNEXT(const char *Option); | ||||
| 	bool CmdNEWC(const char *Option); | ||||
| 	bool CmdMODC(const char *Option); | ||||
| 	bool CmdMOVC(const char *Option); | ||||
| 	bool CmdDELC(const char *Option); | ||||
| 	bool CmdDELR(const char *Option); | ||||
| 	bool CmdRENR(const char *Option); | ||||
|  | ||||
| 	bool Respond(int Code, const char *Message, ...) | ||||
| 			__attribute__ ((format (printf, 3, 4))); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user