MythTV  master
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IPTVTuningData Class Reference

#include <iptvtuningdata.h>

Public Types

enum  FECType { kNone, kRFC2733, kRFC5109, kSMPTE2022 }
 
enum  IPTVType {
  kData = 1, kRFC2733_1, kRFC2733_2, kRFC5109_1,
  kRFC5109_2, kSMPTE2022_1, kSMPTE2022_2
}
 
enum  IPTVProtocol {
  inValid = 0, udp, rtp, rtsp,
  http_ts, http_hls
}
 
typedef enum IPTVTuningData::FECType FECType
 
typedef enum IPTVTuningData::IPTVType IPTVType
 
typedef enum IPTVTuningData::IPTVProtocol IPTVProtocol
 

Public Member Functions

 IPTVTuningData ()
 
 IPTVTuningData (const QString &data_url, IPTVProtocol protocol)
 
 IPTVTuningData (const QString &data_url, uint data_bitrate, const FECType fec_type, const QString &fec_url0, uint fec_bitrate0, const QString &fec_url1, uint fec_bitrate1)
 
 IPTVTuningData (const QString &data_url, uint data_bitrate, const QString &fec_type, const QString &fec_url0, uint fec_bitrate0, const QString &fec_url1, uint fec_bitrate1)
 
QString GetDeviceKey (void) const
 
QString GetDeviceName (void) const
 
bool operator== (const IPTVTuningData &other) const
 
bool operator!= (const IPTVTuningData &other) const
 
void SetDataURL (const QUrl &url)
 
QUrl GetDataURL (void) const
 
QUrl GetFECURL0 (void) const
 
QUrl GetFECURL1 (void) const
 
QUrl GetURL (uint i) const
 
uint GetBitrate (uint i) const
 
FECType GetFECType (void) const
 
QString GetFECTypeString (uint i) const
 
uint GetURLCount (void) const
 
bool IsValid (void) const
 
bool IsUDP (void) const
 
bool IsRTP (void) const
 
bool IsRTSP (void) const
 
bool IsHLS () const
 
bool IsHTTPTS () const
 
void GuessProtocol (void)
 

Protected Member Functions

bool IsHLSPlaylist (void)
 

Protected Attributes

QUrl m_data_url
 
FECType m_fec_type
 
QUrl m_fec_url0
 
QUrl m_fec_url1
 
uint m_bitrate [3]
 
IPTVProtocol m_protocol
 

Detailed Description

Definition at line 15 of file iptvtuningdata.h.

Member Typedef Documentation

◆ FECType

◆ IPTVType

◆ IPTVProtocol

Member Enumeration Documentation

◆ FECType

Enumerator
kNone 
kRFC2733 
kRFC5109 
kSMPTE2022 

Definition at line 18 of file iptvtuningdata.h.

◆ IPTVType

Enumerator
kData 
kRFC2733_1 
kRFC2733_2 
kRFC5109_1 
kRFC5109_2 
kSMPTE2022_1 
kSMPTE2022_2 

Definition at line 26 of file iptvtuningdata.h.

◆ IPTVProtocol

Enumerator
inValid 
udp 
rtp 
rtsp 
http_ts 
http_hls 

Definition at line 37 of file iptvtuningdata.h.

Constructor & Destructor Documentation

◆ IPTVTuningData() [1/4]

IPTVTuningData::IPTVTuningData ( )
inline

Definition at line 47 of file iptvtuningdata.h.

◆ IPTVTuningData() [2/4]

IPTVTuningData::IPTVTuningData ( const QString &  data_url,
IPTVProtocol  protocol 
)
inline

Definition at line 52 of file iptvtuningdata.h.

◆ IPTVTuningData() [3/4]

IPTVTuningData::IPTVTuningData ( const QString &  data_url,
uint  data_bitrate,
const FECType  fec_type,
const QString &  fec_url0,
uint  fec_bitrate0,
const QString &  fec_url1,
uint  fec_bitrate1 
)
inline

Definition at line 58 of file iptvtuningdata.h.

◆ IPTVTuningData() [4/4]

IPTVTuningData::IPTVTuningData ( const QString &  data_url,
uint  data_bitrate,
const QString &  fec_type,
const QString &  fec_url0,
uint  fec_bitrate0,
const QString &  fec_url1,
uint  fec_bitrate1 
)
inline

Definition at line 71 of file iptvtuningdata.h.

Member Function Documentation

◆ GetDeviceKey()

QString IPTVTuningData::GetDeviceKey ( void  ) const
inline

◆ GetDeviceName()

QString IPTVTuningData::GetDeviceName ( void  ) const
inline

◆ operator==()

bool IPTVTuningData::operator== ( const IPTVTuningData other) const
inline

Definition at line 116 of file iptvtuningdata.h.

◆ operator!=()

bool IPTVTuningData::operator!= ( const IPTVTuningData other) const
inline

Definition at line 121 of file iptvtuningdata.h.

◆ SetDataURL()

void IPTVTuningData::SetDataURL ( const QUrl &  url)
inline

Definition at line 126 of file iptvtuningdata.h.

◆ GetDataURL()

QUrl IPTVTuningData::GetDataURL ( void  ) const
inline

◆ GetFECURL0()

QUrl IPTVTuningData::GetFECURL0 ( void  ) const
inline

Definition at line 133 of file iptvtuningdata.h.

Referenced by ChannelUtil::UpdateIPTVTuningData().

◆ GetFECURL1()

QUrl IPTVTuningData::GetFECURL1 ( void  ) const
inline

Definition at line 134 of file iptvtuningdata.h.

Referenced by ChannelUtil::UpdateIPTVTuningData().

◆ GetURL()

QUrl IPTVTuningData::GetURL ( uint  i) const
inline

◆ GetBitrate()

uint IPTVTuningData::GetBitrate ( uint  i) const
inline

◆ GetFECType()

FECType IPTVTuningData::GetFECType ( void  ) const
inline

Definition at line 148 of file iptvtuningdata.h.

◆ GetFECTypeString()

QString IPTVTuningData::GetFECTypeString ( uint  i) const
inline

Definition at line 150 of file iptvtuningdata.h.

Referenced by ChannelUtil::UpdateIPTVTuningData().

◆ GetURLCount()

uint IPTVTuningData::GetURLCount ( void  ) const
inline

Definition at line 164 of file iptvtuningdata.h.

◆ IsValid()

bool IPTVTuningData::IsValid ( void  ) const
inline

◆ IsUDP()

bool IPTVTuningData::IsUDP ( void  ) const
inline

Definition at line 177 of file iptvtuningdata.h.

◆ IsRTP()

bool IPTVTuningData::IsRTP ( void  ) const
inline

◆ IsRTSP()

bool IPTVTuningData::IsRTSP ( void  ) const
inline

Definition at line 187 of file iptvtuningdata.h.

Referenced by IPTVStreamHandler::run().

◆ IsHLS()

bool IPTVTuningData::IsHLS ( ) const
inline

Definition at line 192 of file iptvtuningdata.h.

Referenced by IPTVChannel::OpenStreamHandler().

◆ IsHTTPTS()

bool IPTVTuningData::IsHTTPTS ( ) const
inline

Definition at line 197 of file iptvtuningdata.h.

Referenced by IPTVChannel::OpenStreamHandler().

◆ GuessProtocol()

void IPTVTuningData::GuessProtocol ( void  )
inline

Definition at line 202 of file iptvtuningdata.h.

◆ IsHLSPlaylist()

bool IPTVTuningData::IsHLSPlaylist ( void  )
inlineprotected

Definition at line 221 of file iptvtuningdata.h.

Member Data Documentation

◆ m_data_url

QUrl IPTVTuningData::m_data_url
protected

Definition at line 261 of file iptvtuningdata.h.

◆ m_fec_type

FECType IPTVTuningData::m_fec_type
protected

Definition at line 262 of file iptvtuningdata.h.

◆ m_fec_url0

QUrl IPTVTuningData::m_fec_url0
protected

Definition at line 263 of file iptvtuningdata.h.

◆ m_fec_url1

QUrl IPTVTuningData::m_fec_url1
protected

Definition at line 264 of file iptvtuningdata.h.

◆ m_bitrate

uint IPTVTuningData::m_bitrate[3]
protected

Definition at line 265 of file iptvtuningdata.h.

◆ m_protocol

IPTVProtocol IPTVTuningData::m_protocol
protected

Definition at line 266 of file iptvtuningdata.h.


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