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

#include <iptvtuningdata.h>

Collaboration diagram for IPTVTuningData:
Collaboration graph
[legend]

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
}
 

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, const IPTVProtocol protocol)
 
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)
 
IPTVProtocol GetProtocol (void) const
 

Protected Member Functions

bool IsHLSPlaylist (void) const
 

Protected Attributes

QUrl m_dataUrl
 
FECType m_fecType {kNone}
 
QUrl m_fecUrl0
 
QUrl m_fecUrl1
 
uint m_bitrate [3]
 
IPTVProtocol m_protocol {inValid}
 

Detailed Description

Definition at line 15 of file iptvtuningdata.h.

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,
const IPTVProtocol  protocol 
)
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 117 of file iptvtuningdata.h.

◆ operator!=()

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

Definition at line 122 of file iptvtuningdata.h.

◆ SetDataURL()

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

Definition at line 127 of file iptvtuningdata.h.

◆ GetDataURL()

QUrl IPTVTuningData::GetDataURL ( void  ) const
inline

◆ GetFECURL0()

QUrl IPTVTuningData::GetFECURL0 ( void  ) const
inline

Definition at line 134 of file iptvtuningdata.h.

Referenced by ChannelUtil::UpdateIPTVTuningData().

◆ GetFECURL1()

QUrl IPTVTuningData::GetFECURL1 ( void  ) const
inline

Definition at line 135 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 149 of file iptvtuningdata.h.

◆ GetFECTypeString()

QString IPTVTuningData::GetFECTypeString ( uint  i) const
inline

Definition at line 151 of file iptvtuningdata.h.

Referenced by ChannelUtil::UpdateIPTVTuningData().

◆ GetURLCount()

uint IPTVTuningData::GetURLCount ( void  ) const
inline

Definition at line 165 of file iptvtuningdata.h.

◆ IsValid()

bool IPTVTuningData::IsValid ( void  ) const
inline

◆ IsUDP()

bool IPTVTuningData::IsUDP ( void  ) const
inline

Definition at line 178 of file iptvtuningdata.h.

◆ IsRTP()

bool IPTVTuningData::IsRTP ( void  ) const
inline

◆ IsRTSP()

bool IPTVTuningData::IsRTSP ( void  ) const
inline

Definition at line 188 of file iptvtuningdata.h.

Referenced by IPTVStreamHandler::run().

◆ IsHLS()

bool IPTVTuningData::IsHLS ( ) const
inline

Definition at line 193 of file iptvtuningdata.h.

Referenced by IPTVChannel::OpenStreamHandler().

◆ IsHTTPTS()

bool IPTVTuningData::IsHTTPTS ( ) const
inline

Definition at line 198 of file iptvtuningdata.h.

Referenced by IPTVChannel::OpenStreamHandler().

◆ GuessProtocol()

void IPTVTuningData::GuessProtocol ( void  )
inline

Definition at line 203 of file iptvtuningdata.h.

◆ GetProtocol()

IPTVProtocol IPTVTuningData::GetProtocol ( void  ) const
inline

Definition at line 221 of file iptvtuningdata.h.

◆ IsHLSPlaylist()

bool IPTVTuningData::IsHLSPlaylist ( void  ) const
inlineprotected

Definition at line 227 of file iptvtuningdata.h.

Member Data Documentation

◆ m_dataUrl

QUrl IPTVTuningData::m_dataUrl
protected

Definition at line 267 of file iptvtuningdata.h.

◆ m_fecType

FECType IPTVTuningData::m_fecType {kNone}
protected

Definition at line 268 of file iptvtuningdata.h.

◆ m_fecUrl0

QUrl IPTVTuningData::m_fecUrl0
protected

Definition at line 269 of file iptvtuningdata.h.

◆ m_fecUrl1

QUrl IPTVTuningData::m_fecUrl1
protected

Definition at line 270 of file iptvtuningdata.h.

◆ m_bitrate

uint IPTVTuningData::m_bitrate[3]
protected

Definition at line 271 of file iptvtuningdata.h.

◆ m_protocol

IPTVProtocol IPTVTuningData::m_protocol {inValid}
protected

Definition at line 272 of file iptvtuningdata.h.


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