MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
Mist::OutTSPush Class Reference

#include <output_ts_push.h>

Inheritance diagram for Mist::OutTSPush:
Mist::TSOutput

Public Member Functions

 OutTSPush (Socket::Connection &conn)
 
 ~OutTSPush ()
 
void fillPacket (const char *data, const size_t dataLen)
 
void sendNext ()
 
void sendTS (const char *tsData, unsigned int len=188)
 

Static Public Member Functions

static void init (Util::Config *cfg)
 
static bool listenMode ()
 

Protected Member Functions

void fillBuffer (const char *data, size_t dataLen)
 

Protected Attributes

bool appleCompat
 
MP4::AVCC avccbox
 
std::map< unsigned int, int > contCounters
 
std::map< unsigned int, bool > first
 
bool haveAvcc
 
bool haveHvcc
 
MP4::HVCC hvccbox
 
long long unsigned int lastVid
 
unsigned int packCounter
 
TS::Packet packData
 
std::string packetBuffer
 
Socket::UDPConnection pushSock
 
bool sendRepeatingHeaders
 
long long unsigned int ts_from
 
long long unsigned int until
 

Constructor & Destructor Documentation

Mist::OutTSPush::OutTSPush ( Socket::Connection conn)
Mist::OutTSPush::~OutTSPush ( )

Member Function Documentation

void Mist::OutTSPush::fillBuffer ( const char *  data,
size_t  dataLen 
)
protected
void Mist::TSOutput::fillPacket ( const char *  data,
const size_t  dataLen 
)
inherited
Todo:
only resend the PAT/PMT for HLS
void Mist::OutTSPush::init ( Util::Config cfg)
static
static bool Mist::OutTSPush::listenMode ( )
inlinestatic
void Mist::TSOutput::sendNext ( )
inherited
void Mist::OutTSPush::sendTS ( const char *  tsData,
unsigned int  len = 188 
)
virtual

Reimplemented from Mist::TSOutput.

Field Documentation

bool Mist::TSOutput::appleCompat
protectedinherited
MP4::AVCC Mist::TSOutput::avccbox
protectedinherited
std::map<unsigned int, int> Mist::TSOutput::contCounters
protectedinherited
std::map<unsigned int, bool> Mist::TSOutput::first
protectedinherited
bool Mist::TSOutput::haveAvcc
protectedinherited
bool Mist::TSOutput::haveHvcc
protectedinherited
MP4::HVCC Mist::TSOutput::hvccbox
protectedinherited
long long unsigned int Mist::TSOutput::lastVid
protectedinherited
unsigned int Mist::TSOutput::packCounter
protectedinherited
TS::Packet Mist::TSOutput::packData
protectedinherited
Todo:
update constructors?
std::string Mist::OutTSPush::packetBuffer
protected
Socket::UDPConnection Mist::OutTSPush::pushSock
protected
bool Mist::TSOutput::sendRepeatingHeaders
protectedinherited
long long unsigned int Mist::TSOutput::ts_from
protectedinherited
long long unsigned int Mist::TSOutput::until
protectedinherited

The documentation for this class was generated from the following files: