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

#include <output_hls.h>

Inheritance diagram for Mist::OutHLS:
Mist::TSOutput

Public Member Functions

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

Static Public Member Functions

static void init (Util::Config *cfg)
 

Protected Member Functions

int canSeekms (unsigned int ms)
 
std::string generatePushList ()
 
std::string liveIndex ()
 Builds an index file for HTTP Live streaming. More...
 
std::string liveIndex (int tid)
 
std::string pushLiveIndex ()
 
std::string pushLiveIndex (int tid, unsigned long bTime, unsigned long eTime)
 

Protected Attributes

bool appleCompat
 
unsigned int audTrack
 
MP4::AVCC avccbox
 
std::map< unsigned int, int > contCounters
 
std::map< unsigned int, bool > first
 
bool haveAvcc
 
bool haveHvcc
 
MP4::HVCC hvccbox
 
int keysToSend
 
long long unsigned int lastVid
 
unsigned int packCounter
 
TS::Packet packData
 
bool sendRepeatingHeaders
 
long long unsigned int ts_from
 
long long unsigned int until
 
unsigned int vidTrack
 

Constructor & Destructor Documentation

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

Member Function Documentation

int Mist::OutHLS::canSeekms ( unsigned int  ms)
protected
void Mist::TSOutput::fillPacket ( const char *  data,
const size_t  dataLen 
)
inherited
Todo:
only resend the PAT/PMT for HLS
std::string Mist::OutHLS::generatePushList ( )
protected
void Mist::OutHLS::init ( Util::Config cfg)
static
std::string Mist::OutHLS::liveIndex ( )
protected

Builds an index file for HTTP Live streaming.

Returns
The index file for HTTP Live Streaming.
std::string Mist::OutHLS::liveIndex ( int  tid)
protected
void Mist::OutHLS::onHTTP ( )
Todo:
Detection of out-of-range parts.
std::string Mist::OutHLS::pushLiveIndex ( )
protected
std::string Mist::OutHLS::pushLiveIndex ( int  tid,
unsigned long  bTime,
unsigned long  eTime 
)
protected
void Mist::TSOutput::sendNext ( )
inherited
void Mist::OutHLS::sendTS ( const char *  tsData,
unsigned int  len = 188 
)
virtual

Reimplemented from Mist::TSOutput.

Field Documentation

bool Mist::TSOutput::appleCompat
protectedinherited
unsigned int Mist::OutHLS::audTrack
protected
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
int Mist::OutHLS::keysToSend
protected
long long unsigned int Mist::TSOutput::lastVid
protectedinherited
unsigned int Mist::TSOutput::packCounter
protectedinherited
TS::Packet Mist::TSOutput::packData
protectedinherited
Todo:
update constructors?
bool Mist::TSOutput::sendRepeatingHeaders
protectedinherited
long long unsigned int Mist::TSOutput::ts_from
protectedinherited
long long unsigned int Mist::TSOutput::until
protectedinherited
unsigned int Mist::OutHLS::vidTrack
protected

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