summaryrefslogtreecommitdiff
path: root/src/eParser.h
blob: 01a0dbc4646481a796bc0b52c721a633cf6401fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * eParser.h
 *
 *  Created on: 2013. 10. 29.
 *      Author: kos
 */

#ifndef EPARSER_H_
#define EPARSER_H_

#include <vector>
#include <string>

using namespace std;
//-------------------------------------------------------------------------------

class eParser
{
public:
	static bool Authorization(char* aAuthorization);
	static void FileName(char* aRequest, char* aHttp, std::string& aOutData);
	static bool MetaData(std::string aMediaFileName, int& aVideoPid, int& aAudioPid);
	static bool LiveStreamPid(std::string aData, std::vector<unsigned long>& aPidList,
						      int& aDemuxId, int& aVideoPid, int& aAudioPid, int& aPmtPid, std::string& aWWWAuth);
	static std::string ServiceRef(std::string aData, std::string aAuthorization);
};
//-------------------------------------------------------------------------------

#endif /* EPARSER_H_ */