You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
#ifndef __BASIC_MEDIA_DESTINATION_H_INCL__
|
|
#define __BASIC_MEDIA_DESTINATION_H_INCL__
|
|
|
|
#include "basicFunctionality.h"
|
|
#include "basicLIBAV.h"
|
|
#include "basicLogCollection.h"
|
|
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author Gagua
|
|
*/
|
|
class basicMediaDestination {
|
|
private:
|
|
basicLogCollection* m_pLog;
|
|
public:
|
|
basicMediaDestination();
|
|
virtual ~basicMediaDestination();
|
|
virtual void pushFrame(AVFrame *Frame, void* src = NULL) {};
|
|
virtual void setError(bool A, CSTR BOBO = NULL ){};
|
|
virtual uint32_t startRecord(uint32_t FramesToRecord) { return -1; };
|
|
virtual void startRecord(CSTR FileName) {};
|
|
virtual uint32_t stopRecord(void) { return -1; };
|
|
virtual bool isRecorder(void){ return false; };
|
|
};
|
|
|
|
inline basicMediaDestination::basicMediaDestination(){
|
|
m_pLog = basicLogCollection::getInstance();
|
|
};
|
|
|
|
inline basicMediaDestination::~basicMediaDestination(){
|
|
};
|
|
|
|
typedef vector<basicMediaDestination*> mediaDestinationsCollection;
|
|
|
|
#endif // __BASICMEDIADESTINATION_H_INCL__
|