18#ifndef ATSC_CORE_STREAMER_HLSMARKER_H_
19#define ATSC_CORE_STREAMER_HLSMARKER_H_
30#include "atsc_core_utils_tinyxml2.h"
118 void MakeIndex(std::list<sMediaMasterPlaylistItem_t> list);
218 uint32_t mManifestPublish;
220 int32_t mServiceCategory;
222 bool mChangeBandwidth;
224 std::string k_default_folder;
225 std::list<sMediaMasterPlaylistItem_t> mMasterPlaylist;
226 std::list<sHlsParameter_t> mDashList;
227 uint32_t mVideoSequenceNumber;
struct tMediaMasterPlayListItem sMediaMasterPlaylistItem_t
Definition atsc_core_streamer_hlsmaker.h:85
bool isIndex()
Verify index value.
Definition atsc_core_streamer_hlsmaker.h:206
void PutMedia(sHlsParameter_t sParam)
Add media.
void SetDefaultProperties(char *mime_type, char *init, char *media)
Set default value of properties.
void SetDefaultFolder(char *pFolder)
set folder for stream files
void GetInitData(char *pPath, char *pData, int32_t *iDataLen)
Get Init data for class.
void UseManifest()
use manifest values
Definition atsc_core_streamer_hlsmaker.h:198
void MakeIndex(std::list< sMediaMasterPlaylistItem_t > list)
Used to prepare index.
char * timeToString(struct tm *pTime)
Time to string update.
CHLSMaker()
Constructor of CHLSMaker.
void SetMasterItem(std::list< sMediaMasterPlaylistItem_t > list)
Set master item of sMediaMasterPlaylistItem_t list.
void Init(int32_t iCategory)
Initialization method.
void PutBandwidth(int32_t iMedaType, int32_t iBandwidth)
add band width
int32_t MakeManifestMpd(sMediaPresentationDesc_t sMpd, char *pXml, uint32_t iToi, double dChunkPeriod, int32_t iId)
Time to string update.
void GetMp4Parameter(char *pVideoPath, char *pAudioPath)
Read mp4 parameter for class.
~CHLSMaker()
Constructor of CHLSMaker.
Definition atsc_core_streamer_hlsmaker.h:74
std::string sPath
Definition atsc_core_streamer_hlsmaker.h:77
int32_t iMediaType
Definition atsc_core_streamer_hlsmaker.h:76
int32_t iTsi
Definition atsc_core_streamer_hlsmaker.h:75
Definition atsc_core_streamer_hlsmaker.h:40
int32_t iMediaType
Definition atsc_core_streamer_hlsmaker.h:42
double dExtinf
Definition atsc_core_streamer_hlsmaker.h:44
int32_t iTsi
Definition atsc_core_streamer_hlsmaker.h:43
uint32_t iSequence
Definition atsc_core_streamer_hlsmaker.h:41
std::string sUri
Definition atsc_core_streamer_hlsmaker.h:45