openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eStreamClient Class Reference

#include <streamserver.h>

Inheritance diagram for eStreamClient:
eDVBServiceStream eDVBServiceBase iFrontendInformation iFrontendInformation_ENUMS iObject

Public Member Functions

void stopStream ()
 
 eStreamClient (eStreamServer *handler, int socket, const std::string remotehost)
 
 ~eStreamClient ()
 
void start ()
 
std::string getRemoteHost ()
 
std::string getServiceref ()
 
bool isUsingEncoder ()
 
- Public Member Functions inherited from eDVBServiceStream
 eDVBServiceStream ()
 
int start (const char *serviceref, int fd)
 
int stop ()
 
- Public Member Functions inherited from eDVBServiceBase
int getFrontendInfo (int w)
 
ePtr< iDVBFrontendDatagetFrontendData ()
 
ePtr< iDVBFrontendStatusgetFrontendStatus ()
 
ePtr< iDVBTransponderDatagetTransponderData (bool)
 
- Public Member Functions inherited from iFrontendInformation
void getAll ()
 
- Public Member Functions inherited from iObject
void operator delete (void *p)
 
virtual void AddRef ()=0
 
virtual void Release ()=0
 

Protected Member Functions

void notifier (int)
 
void streamStopped ()
 
void tuneFailed ()
 
- Protected Member Functions inherited from eDVBServiceStream
int doPrepare ()
 
int doRecord ()
 
void serviceEvent (int event)
 
void recordEvent (int event)
 
void gotNewEvent (int error)
 
virtual void eventUpdate (int event)
 
void recordPids (std::set< int > pids_to_record, int timing_pid, int timing_stream_type, iDVBTSRecorder::timing_pid_type timing_pid_type)
 
bool recordCachedPids ()
 
- Protected Member Functions inherited from iObject
virtual ~iObject ()
 

Protected Attributes

eStreamServerparent
 
int encoderFd
 
int streamFd
 
eDVBRecordStreamThreadstreamThread
 
std::string m_remotehost
 
std::string m_serviceref
 
bool m_useencoder
 
bool running
 
ePtr< eSocketNotifierrsn
 
std::string request
 
ePtr< eTimerm_timeout
 
- Protected Attributes inherited from eDVBServiceStream
int m_state
 
int m_want_record
 
bool m_stream_ecm
 
bool m_stream_eit
 
bool m_stream_ait
 
bool m_stream_sdtbat
 
eDVBServiceEITHandler m_event_handler
 
eServiceReferenceDVB m_ref
 
ePtr< iDVBTSRecorderm_record
 
ePtr< eConnectionm_con_record_event
 
int m_recording
 
int m_tuned
 
std::set< int > m_pids_active
 
int m_target_fd
 
int m_record_no_pids = 0
 
- Protected Attributes inherited from eDVBServiceBase
eDVBServicePMTHandler m_service_handler
 

Additional Inherited Members

- Public Types inherited from iFrontendInformation_ENUMS
enum  {
  bitErrorRate , signalPower , signalQuality , lockState ,
  syncState , frontendNumber , signalQualitydB , isUsbTuner ,
  frontendStatus , snrValue , frequency
}
 
- Protected Types inherited from eDVBServiceStream
enum  { stateIdle , statePrepared , stateRecording }
 
- Static Protected Member Functions inherited from eDVBServiceBase
static bool tryFallbackTuner (eServiceReferenceDVB &service, bool &is_stream, bool is_pvr, bool simulate)
 

Constructor & Destructor Documentation

◆ eStreamClient()

eStreamClient::eStreamClient ( eStreamServer handler,
int  socket,
const std::string  remotehost 
)

◆ ~eStreamClient()

eStreamClient::~eStreamClient ( )

Member Function Documentation

◆ getRemoteHost()

std::string eStreamClient::getRemoteHost ( )

◆ getServiceref()

std::string eStreamClient::getServiceref ( )

◆ isUsingEncoder()

bool eStreamClient::isUsingEncoder ( )

◆ notifier()

void eStreamClient::notifier ( int  what)
protected

◆ start()

void eStreamClient::start ( )

◆ stopStream()

void eStreamClient::stopStream ( )

◆ streamStopped()

void eStreamClient::streamStopped ( )
inlineprotectedvirtual

Reimplemented from eDVBServiceStream.

◆ tuneFailed()

void eStreamClient::tuneFailed ( )
inlineprotectedvirtual

Reimplemented from eDVBServiceStream.

Member Data Documentation

◆ encoderFd

int eStreamClient::encoderFd
protected

◆ m_remotehost

std::string eStreamClient::m_remotehost
protected

◆ m_serviceref

std::string eStreamClient::m_serviceref
protected

◆ m_timeout

ePtr<eTimer> eStreamClient::m_timeout
protected

◆ m_useencoder

bool eStreamClient::m_useencoder
protected

◆ parent

eStreamServer* eStreamClient::parent
protected

◆ request

std::string eStreamClient::request
protected

◆ rsn

ePtr<eSocketNotifier> eStreamClient::rsn
protected

◆ running

bool eStreamClient::running
protected

◆ streamFd

int eStreamClient::streamFd
protected

◆ streamThread

eDVBRecordStreamThread* eStreamClient::streamThread
protected

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