mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
b66bf7a698
Including - m3u playlists by Petri Hintukainen (#254) - way to pass parameters to externremux by Rolf Ahrenberg - using host header for absolute URLs for better DNAT / Reverse Proxy support
27 lines
646 B
C++
27 lines
646 B
C++
#ifndef VDR_STREAMDEV_EXTERNREMUX_H
|
|
#define VDR_STREAMDEV_EXTERNREMUX_H
|
|
|
|
#include "remux/tsremux.h"
|
|
#include <vdr/ringbuffer.h>
|
|
#include <string>
|
|
|
|
extern const char *g_ExternRemux;
|
|
|
|
class cTSExt;
|
|
|
|
class cExternRemux: public cTSRemux {
|
|
private:
|
|
cRingBufferLinear *m_ResultBuffer;
|
|
cTSExt *m_Remux;
|
|
|
|
public:
|
|
cExternRemux(int VPid, const int *APids, const int *Dpids, const int *SPids, std::string Parameter);
|
|
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); }
|
|
};
|
|
|
|
#endif // VDR_STREAMDEV_EXTERNREMUX_H
|