#include <httplivestream.h>
Definition at line 22 of file httplivestream.h.
| HTTPLiveStream::HTTPLiveStream | ( | QString | srcFile, | |
| uint16_t | width = 640, |
|||
| uint16_t | height = 480, |
|||
| uint32_t | bitrate = 800000, |
|||
| uint32_t | abitrate = 64000, |
|||
| uint16_t | maxSegments = 0, |
|||
| uint16_t | segmentSize = 10, |
|||
| uint32_t | aobitrate = 32000, |
|||
| uint16_t | srate = -1 | |||
| ) |
Definition at line 90 of file httplivestream.cpp.
Referenced by GetLiveStreamInfoList(), RemoveStream(), and StopStream().
| HTTPLiveStream::HTTPLiveStream | ( | int | streamid | ) |
Definition at line 150 of file httplivestream.cpp.
| HTTPLiveStream::~HTTPLiveStream | ( | ) |
Definition at line 157 of file httplivestream.cpp.
| bool HTTPLiveStream::InitForWrite | ( | void | ) |
Definition at line 167 of file httplivestream.cpp.
Referenced by Transcode::TranscodeFile().
| bool HTTPLiveStream::LoadFromDB | ( | void | ) |
Definition at line 639 of file httplivestream.cpp.
Referenced by HTTPLiveStream(), and StopStream().
| int HTTPLiveStream::GetStreamID | ( | void | ) | const [inline] |
Definition at line 35 of file httplivestream.h.
Referenced by StartStream().
| uint16_t HTTPLiveStream::GetWidth | ( | void | ) | const [inline] |
Definition at line 36 of file httplivestream.h.
Referenced by Transcode::TranscodeFile().
| uint16_t HTTPLiveStream::GetHeight | ( | void | ) | const [inline] |
Definition at line 37 of file httplivestream.h.
Referenced by Transcode::TranscodeFile().
| uint32_t HTTPLiveStream::GetBitrate | ( | void | ) | const [inline] |
Definition at line 38 of file httplivestream.h.
Referenced by Transcode::TranscodeFile().
| uint32_t HTTPLiveStream::GetAudioBitrate | ( | void | ) | const [inline] |
Definition at line 39 of file httplivestream.h.
Referenced by Transcode::TranscodeFile().
| uint32_t HTTPLiveStream::GetAudioOnlyBitrate | ( | void | ) | const [inline] |
Definition at line 40 of file httplivestream.h.
| uint16_t HTTPLiveStream::GetMaxSegments | ( | void | ) | const [inline] |
Definition at line 41 of file httplivestream.h.
| QString HTTPLiveStream::GetSourceFile | ( | void | ) | const [inline] |
Definition at line 42 of file httplivestream.h.
Referenced by Transcode::TranscodeFile().
| QString HTTPLiveStream::GetHTMLPageName | ( | void | ) | const |
Definition at line 312 of file httplivestream.cpp.
Referenced by RemoveStream().
| QString HTTPLiveStream::GetMetaPlaylistName | ( | void | ) | const |
Definition at line 356 of file httplivestream.cpp.
Referenced by RemoveStream(), and WriteMetaPlaylist().
| QString HTTPLiveStream::GetPlaylistName | ( | bool | audioOnly = false |
) | const |
Definition at line 400 of file httplivestream.cpp.
Referenced by RemoveStream(), and WritePlaylist().
| uint16_t HTTPLiveStream::GetSegmentSize | ( | void | ) | const [inline] |
Definition at line 46 of file httplivestream.h.
| QString HTTPLiveStream::GetFilename | ( | uint16_t | segmentNumber = 0, |
|
| bool | fileOnly = false, |
|||
| bool | audioOnly = false, |
|||
| bool | encoded = false | |||
| ) | const |
Definition at line 181 of file httplivestream.cpp.
Referenced by AddSegment(), GetCurrentFilename(), RemoveStream(), and WritePlaylist().
Definition at line 202 of file httplivestream.cpp.
Referenced by Transcode::TranscodeFile().
| void HTTPLiveStream::SetOutputVars | ( | void | ) |
Definition at line 694 of file httplivestream.cpp.
Referenced by HTTPLiveStream(), LoadFromDB(), and UpdateSizeInfo().
| HTTPLiveStreamStatus HTTPLiveStream::GetDBStatus | ( | void | ) | const |
Definition at line 729 of file httplivestream.cpp.
Referenced by RemoveStream(), StartStream(), and StopStream().
| int HTTPLiveStream::AddStream | ( | void | ) |
Definition at line 207 of file httplivestream.cpp.
Referenced by HTTPLiveStream().
| bool HTTPLiveStream::AddSegment | ( | void | ) |
Definition at line 277 of file httplivestream.cpp.
Referenced by Transcode::TranscodeFile().
| bool HTTPLiveStream::WriteHTML | ( | void | ) |
Definition at line 321 of file httplivestream.cpp.
Referenced by InitForWrite().
| bool HTTPLiveStream::WriteMetaPlaylist | ( | void | ) |
Definition at line 365 of file httplivestream.cpp.
Referenced by InitForWrite().
Definition at line 413 of file httplivestream.cpp.
Referenced by AddSegment(), and ~HTTPLiveStream().
| bool HTTPLiveStream::SaveSegmentInfo | ( | void | ) |
Definition at line 464 of file httplivestream.cpp.
Referenced by AddSegment().
| bool HTTPLiveStream::UpdateSizeInfo | ( | uint16_t | width, | |
| uint16_t | height, | |||
| uint16_t | srcwidth, | |||
| uint16_t | srcheight | |||
| ) |
Definition at line 489 of file httplivestream.cpp.
Referenced by Transcode::TranscodeFile().
| bool HTTPLiveStream::UpdateStatus | ( | HTTPLiveStreamStatus | status | ) |
Definition at line 540 of file httplivestream.cpp.
Referenced by InitForWrite(), and Transcode::TranscodeFile().
| bool HTTPLiveStream::UpdateStatusMessage | ( | QString | message | ) |
Definition at line 573 of file httplivestream.cpp.
Referenced by InitForWrite(), and Transcode::TranscodeFile().
| bool HTTPLiveStream::UpdatePercentComplete | ( | int | percent | ) |
Definition at line 598 of file httplivestream.cpp.
Referenced by Transcode::TranscodeFile().
| QString HTTPLiveStream::StatusToString | ( | HTTPLiveStreamStatus | status | ) |
Definition at line 623 of file httplivestream.cpp.
Referenced by GetLiveStreamInfo(), and UpdateStatus().
| bool HTTPLiveStream::CheckStop | ( | void | ) |
Definition at line 751 of file httplivestream.cpp.
Referenced by Transcode::TranscodeFile().
| DTC::LiveStreamInfo * HTTPLiveStream::StartStream | ( | void | ) |
Definition at line 776 of file httplivestream.cpp.
Referenced by Content::AddLiveStream().
| DTC::LiveStreamInfo * HTTPLiveStream::StopStream | ( | int | id | ) | [static] |
Definition at line 871 of file httplivestream.cpp.
Referenced by RemoveStream(), and Content::StopLiveStream().
| bool HTTPLiveStream::RemoveStream | ( | int | id | ) | [static] |
Definition at line 799 of file httplivestream.cpp.
Referenced by Content::RemoveLiveStream().
| DTC::LiveStreamInfo * HTTPLiveStream::GetLiveStreamInfo | ( | DTC::LiveStreamInfo * | info = NULL |
) |
Definition at line 920 of file httplivestream.cpp.
Referenced by Content::GetLiveStream(), GetLiveStreamInfoList(), StartStream(), and StopStream().
| DTC::LiveStreamInfoList * HTTPLiveStream::GetLiveStreamInfoList | ( | const QString & | FileName = "" |
) | [static] |
Definition at line 953 of file httplivestream.cpp.
Referenced by Content::GetFilteredLiveStreamList(), and Content::GetLiveStreamList().
bool HTTPLiveStream::m_writing [protected] |
Definition at line 83 of file httplivestream.h.
Referenced by InitForWrite(), and ~HTTPLiveStream().
int HTTPLiveStream::m_streamid [protected] |
Definition at line 84 of file httplivestream.h.
Referenced by AddSegment(), AddStream(), CheckStop(), GetDBStatus(), GetHTMLPageName(), GetLiveStreamInfo(), GetMetaPlaylistName(), GetPlaylistName(), InitForWrite(), LoadFromDB(), SaveSegmentInfo(), UpdatePercentComplete(), UpdateSizeInfo(), UpdateStatus(), UpdateStatusMessage(), WriteHTML(), WriteMetaPlaylist(), and WritePlaylist().
QString HTTPLiveStream::m_sourceFile [protected] |
Definition at line 85 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), UpdateSizeInfo(), and WriteHTML().
QString HTTPLiveStream::m_sourceHost [protected] |
Definition at line 86 of file httplivestream.h.
Referenced by GetLiveStreamInfo(), HTTPLiveStream(), and LoadFromDB().
uint16_t HTTPLiveStream::m_sourceWidth [protected] |
Definition at line 87 of file httplivestream.h.
Referenced by GetLiveStreamInfo(), LoadFromDB(), and UpdateSizeInfo().
uint16_t HTTPLiveStream::m_sourceHeight [protected] |
Definition at line 88 of file httplivestream.h.
Referenced by GetLiveStreamInfo(), LoadFromDB(), and UpdateSizeInfo().
QString HTTPLiveStream::m_outDir [protected] |
Definition at line 89 of file httplivestream.h.
Referenced by AddStream(), GetFilename(), GetHTMLPageName(), GetMetaPlaylistName(), GetPlaylistName(), HTTPLiveStream(), LoadFromDB(), and WriteHTML().
QString HTTPLiveStream::m_outBase [protected] |
Definition at line 90 of file httplivestream.h.
Referenced by AddStream(), GetHTMLPageName(), GetMetaPlaylistName(), HTTPLiveStream(), LoadFromDB(), SetOutputVars(), UpdateSizeInfo(), and WriteHTML().
QString HTTPLiveStream::m_outBaseEncoded [protected] |
Definition at line 91 of file httplivestream.h.
Referenced by SetOutputVars(), and WriteHTML().
QString HTTPLiveStream::m_outFile [protected] |
Definition at line 92 of file httplivestream.h.
Referenced by GetFilename(), GetPlaylistName(), and SetOutputVars().
QString HTTPLiveStream::m_outFileEncoded [protected] |
Definition at line 93 of file httplivestream.h.
Referenced by GetFilename(), SetOutputVars(), and WriteMetaPlaylist().
QString HTTPLiveStream::m_audioOutFile [protected] |
Definition at line 94 of file httplivestream.h.
Referenced by GetFilename(), GetPlaylistName(), and SetOutputVars().
QString HTTPLiveStream::m_audioOutFileEncoded [protected] |
Definition at line 95 of file httplivestream.h.
Referenced by GetFilename(), SetOutputVars(), and WriteMetaPlaylist().
uint16_t HTTPLiveStream::m_segmentSize [protected] |
Definition at line 96 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), and WritePlaylist().
uint16_t HTTPLiveStream::m_segmentFrames [protected] |
Definition at line 97 of file httplivestream.h.
uint16_t HTTPLiveStream::m_maxSegments [protected] |
Definition at line 98 of file httplivestream.h.
Referenced by AddSegment(), AddStream(), GetLiveStreamInfo(), and LoadFromDB().
uint16_t HTTPLiveStream::m_segmentCount [protected] |
Definition at line 99 of file httplivestream.h.
Referenced by AddSegment(), GetLiveStreamInfo(), LoadFromDB(), SaveSegmentInfo(), and WritePlaylist().
uint16_t HTTPLiveStream::m_startSegment [protected] |
Definition at line 100 of file httplivestream.h.
Referenced by AddSegment(), GetLiveStreamInfo(), LoadFromDB(), SaveSegmentInfo(), and WritePlaylist().
uint16_t HTTPLiveStream::m_curSegment [protected] |
Definition at line 101 of file httplivestream.h.
Referenced by AddSegment(), GetCurrentFilename(), GetLiveStreamInfo(), LoadFromDB(), and SaveSegmentInfo().
QString HTTPLiveStream::m_httpPrefix [protected] |
Definition at line 102 of file httplivestream.h.
Referenced by HTTPLiveStream(), SetOutputVars(), and UpdateSizeInfo().
QString HTTPLiveStream::m_httpPrefixRel [protected] |
Definition at line 103 of file httplivestream.h.
Referenced by HTTPLiveStream(), SetOutputVars(), and UpdateSizeInfo().
uint16_t HTTPLiveStream::m_height [protected] |
Definition at line 104 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), and UpdateSizeInfo().
uint16_t HTTPLiveStream::m_width [protected] |
Definition at line 105 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), and UpdateSizeInfo().
uint32_t HTTPLiveStream::m_bitrate [protected] |
Definition at line 106 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), UpdateSizeInfo(), and WriteMetaPlaylist().
uint32_t HTTPLiveStream::m_audioBitrate [protected] |
Definition at line 107 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), UpdateSizeInfo(), and WriteMetaPlaylist().
uint32_t HTTPLiveStream::m_audioOnlyBitrate [protected] |
Definition at line 108 of file httplivestream.h.
Referenced by AddSegment(), AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), SetOutputVars(), WriteMetaPlaylist(), and ~HTTPLiveStream().
uint16_t HTTPLiveStream::m_sampleRate [protected] |
Definition at line 109 of file httplivestream.h.
Referenced by AddStream(), and LoadFromDB().
QDateTime HTTPLiveStream::m_created [protected] |
Definition at line 111 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), and LoadFromDB().
QDateTime HTTPLiveStream::m_lastModified [protected] |
Definition at line 112 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), and LoadFromDB().
uint16_t HTTPLiveStream::m_percentComplete [protected] |
Definition at line 113 of file httplivestream.h.
Referenced by GetLiveStreamInfo(), LoadFromDB(), and UpdatePercentComplete().
QString HTTPLiveStream::m_relativeURL [protected] |
Definition at line 114 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), and UpdateSizeInfo().
QString HTTPLiveStream::m_fullURL [protected] |
Definition at line 115 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), HTTPLiveStream(), LoadFromDB(), and UpdateSizeInfo().
QString HTTPLiveStream::m_statusMessage [protected] |
Definition at line 116 of file httplivestream.h.
Referenced by GetLiveStreamInfo(), LoadFromDB(), and UpdateStatusMessage().
HTTPLiveStreamStatus HTTPLiveStream::m_status [protected] |
Definition at line 118 of file httplivestream.h.
Referenced by AddStream(), GetLiveStreamInfo(), LoadFromDB(), StatusToString(), and UpdateStatus().
1.6.3