MythTV  master
Macros | Functions
HLSReader.cpp File Reference
#include <sys/time.h>
#include <unistd.h>
#include "HLSReader.h"
#include "HLS/m3u.h"
Include dependency graph for HLSReader.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("%1: ").arg(m_curstream ? m_curstream->Url() : "HLSReader")
 

Functions

static QUrl RelativeURI (const QString &baseString, const QString &uriString)
 Handles relative URLs without breaking URI encoded parameters by avoiding storing the decoded URL in a QString. More...
 
static uint64_t MDate (void)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("%1: ").arg(m_curstream ? m_curstream->Url() : "HLSReader")

Definition at line 7 of file HLSReader.cpp.

Function Documentation

◆ RelativeURI()

static QUrl RelativeURI ( const QString &  baseString,
const QString &  uriString 
)
static

Handles relative URLs without breaking URI encoded parameters by avoiding storing the decoded URL in a QString.

It replaces M3U::RelativeURI("", M3U::DecodedURI(your segment URL here));

Definition at line 14 of file HLSReader.cpp.

Referenced by HLSReader::ParseM3U8().

◆ MDate()

static uint64_t MDate ( void  )
static

Definition at line 22 of file HLSReader.cpp.

Referenced by HLSReader::DownloadSegmentData().