mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
fa578940f7
especially x264 still needs a SIGKILL sometimes - added --remove-destination to cp commands installing plugins - updated Italian translation (thanks to Diego Pierotto) - config option "client may suspend" hidden if not applicable - updated and enhanced README - added support for HTTP method HEAD - rewrite of externremux.sh, including support for various URL parameters, logging and improved shutdown - start externremux script in a separate process group - changed HTTP URL path for externremux from EXTERN to EXT (suggested by Rolf Ahrenberg) - HTTP headers now have to be emitted by externremux script - pass channel related information and URL parameters to externremux script through environment - implement CGI like interface for externremux script Modified Files: Tag: v0_4 CONTRIBUTORS HISTORY Makefile README common.c common.h i18n.c remux/extern.c remux/extern.h server/connection.c server/connection.h server/connectionHTTP.c server/connectionHTTP.h server/connectionIGMP.c server/connectionVTP.c server/livestreamer.c server/livestreamer.h server/menuHTTP.c server/setup.c server/setup.h server/streamer.c server/streamer.h streamdev/externremux.sh streamdev/streamdevhosts.conf
32 lines
713 B
C++
32 lines
713 B
C++
#ifndef VDR_STREAMDEV_EXTERNREMUX_H
|
|
#define VDR_STREAMDEV_EXTERNREMUX_H
|
|
|
|
#include "remux/tsremux.h"
|
|
#include <vdr/ringbuffer.h>
|
|
#include <string>
|
|
|
|
class cChannel;
|
|
class cServerConnection;
|
|
|
|
namespace Streamdev {
|
|
|
|
class cTSExt;
|
|
|
|
class cExternRemux: public cTSRemux {
|
|
private:
|
|
cRingBufferLinear *m_ResultBuffer;
|
|
cTSExt *m_Remux;
|
|
|
|
public:
|
|
cExternRemux(const cServerConnection *Connection, const cChannel *Channel, const int *APids, const int *Dpids);
|
|
virtual ~cExternRemux();
|
|
|
|
int Put(const uchar *Data, int Count);
|
|
uchar *Get(int &Count) { return m_ResultBuffer->Get(Count); }
|
|
void Del(int Count) { m_ResultBuffer->Del(Count); }
|
|
};
|
|
|
|
} // namespace Streamdev
|
|
|
|
#endif // VDR_STREAMDEV_EXTERNREMUX_H
|