MythTV  master
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SatIPRTSP Class Reference

-*- Mode: c++ -*- More...

#include <libmythtv/recorders/satiprtsp.h>

Inheritance diagram for SatIPRTSP:
[legend]
Collaboration diagram for SatIPRTSP:
[legend]

Signals

void StartKeepAlive (void)
 
void StopKeepAlive (void)
 

Public Member Functions

 SatIPRTSP (int m_inputId)
 
 ~SatIPRTSP () override
 
bool Setup (const QUrl &url, ushort clientPort1, ushort clientPort2)
 
bool Play (const QString &pids_str)
 
bool Teardown ()
 

Protected Slots

void StartKeepAliveRequested (void)
 
void StopKeepAliveRequested (void)
 

Protected Member Functions

void timerEvent (QTimerEvent *timerEvent) override
 

Private Member Functions

bool sendMessage (const QString &msg, QStringList *additionalHeaders=nullptr)
 

Private Attributes

int m_inputId {0}
 
QUrl m_requestUrl
 
uint m_cseq {0}
 
QString m_sessionid
 
QString m_streamid
 
QMap< QString, QString > m_responseHeaders
 
int m_timer {0}
 
std::chrono::seconds m_timeout {60s}
 

Static Private Attributes

static QMutex s_rtspMutex
 

Detailed Description

-*- Mode: c++ -*-

Definition at line 25 of file satiprtsp.h.

Constructor & Destructor Documentation

◆ SatIPRTSP()

SatIPRTSP::SatIPRTSP ( int  m_inputId)
explicit

Definition at line 32 of file satiprtsp.cpp.

◆ ~SatIPRTSP()

SatIPRTSP::~SatIPRTSP ( )
override

Definition at line 40 of file satiprtsp.cpp.

Member Function Documentation

◆ Setup()

bool SatIPRTSP::Setup ( const QUrl &  url,
ushort  clientPort1,
ushort  clientPort2 
)

Definition at line 180 of file satiprtsp.cpp.

Referenced by SatIPStreamHandler::run(), and SatIPStreamHandler::Tune().

◆ Play()

bool SatIPRTSP::Play ( const QString &  pids_str)

Definition at line 254 of file satiprtsp.cpp.

Referenced by SatIPStreamHandler::Tune(), and SatIPStreamHandler::UpdateFilters().

◆ Teardown()

bool SatIPRTSP::Teardown ( )

Definition at line 272 of file satiprtsp.cpp.

Referenced by SatIPStreamHandler::run(), and SatIPStreamHandler::Tune().

◆ timerEvent()

void SatIPRTSP::timerEvent ( QTimerEvent *  timerEvent)
overrideprotected

Definition at line 315 of file satiprtsp.cpp.

◆ StartKeepAlive

void SatIPRTSP::StartKeepAlive ( void  )
signal

Referenced by Play(), and SatIPRTSP().

◆ StopKeepAlive

void SatIPRTSP::StopKeepAlive ( void  )
signal

Referenced by SatIPRTSP(), Teardown(), and ~SatIPRTSP().

◆ StartKeepAliveRequested

void SatIPRTSP::StartKeepAliveRequested ( void  )
protectedslot

Definition at line 295 of file satiprtsp.cpp.

Referenced by SatIPRTSP().

◆ StopKeepAliveRequested

void SatIPRTSP::StopKeepAliveRequested ( void  )
protectedslot

Definition at line 305 of file satiprtsp.cpp.

Referenced by SatIPRTSP().

◆ sendMessage()

bool SatIPRTSP::sendMessage ( const QString &  msg,
QStringList *  additionalHeaders = nullptr 
)
private

Definition at line 45 of file satiprtsp.cpp.

Referenced by Play(), Setup(), Teardown(), and timerEvent().

Member Data Documentation

◆ m_inputId

int SatIPRTSP::m_inputId {0}
private

Definition at line 52 of file satiprtsp.h.

◆ m_requestUrl

QUrl SatIPRTSP::m_requestUrl
private

Definition at line 53 of file satiprtsp.h.

Referenced by Play(), sendMessage(), Setup(), Teardown(), and timerEvent().

◆ m_cseq

uint SatIPRTSP::m_cseq {0}
private

Definition at line 54 of file satiprtsp.h.

Referenced by sendMessage().

◆ m_sessionid

QString SatIPRTSP::m_sessionid
private

Definition at line 55 of file satiprtsp.h.

Referenced by sendMessage(), Setup(), and Teardown().

◆ m_streamid

QString SatIPRTSP::m_streamid
private

Definition at line 56 of file satiprtsp.h.

Referenced by Play(), Setup(), and Teardown().

◆ m_responseHeaders

QMap<QString, QString> SatIPRTSP::m_responseHeaders
private

Definition at line 57 of file satiprtsp.h.

Referenced by sendMessage(), and Setup().

◆ m_timer

int SatIPRTSP::m_timer {0}
private

Definition at line 59 of file satiprtsp.h.

Referenced by StartKeepAliveRequested(), and StopKeepAliveRequested().

◆ m_timeout

std::chrono::seconds SatIPRTSP::m_timeout {60s}
private

Definition at line 60 of file satiprtsp.h.

Referenced by Setup(), and StartKeepAliveRequested().

◆ s_rtspMutex

QMutex SatIPRTSP::s_rtspMutex
staticprivate

Definition at line 62 of file satiprtsp.h.

Referenced by sendMessage(), and Teardown().


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