MythTV  master
Macros | Functions
HLSReader.cpp File Reference
#include <sys/time.h>
#include <unistd.h>
#include <QtGlobal>
#include <QStringConverter>
#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("HLSReader[%1]: ").arg(m_inputId)
 

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...
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("HLSReader[%1]: ").arg(m_inputId)

Definition at line 12 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 19 of file HLSReader.cpp.

Referenced by HLSReader::ParseM3U8().