Emx::MediaServerCtx类 参考

#include "MediaServerCtx.hpp"

Emx::MediaServerCtx 的协作图:

Public 成员函数

ErrCodeE SetParam (const char *name, const Json::Value &json)
 
ErrCodeE GetParam (const char *name, Json::Value &json)
 
ErrCodeE GetParamDefault (const char *name, Json::Value &json)
 
ErrCodeE GetRange (const char *name, Json::Value &json)
 
ErrCodeE GetCfg (const char *name, Json::Value &json)
 
ErrCodeE SetScene (const char *scene)
 
const char * GetScene ()
 

静态 Public 成员函数

static MediaServerCtxGetInst ()
 
static bool CheckRangeLegal (const char *name, int param, Json::Value &json)
 
static bool CheckItemLegal (const char *name, int param, Json::Value &json)
 

Public 属性

MediaFactoryfactory
 
EuvLoop loop
 
MsgTopicPublisherAsync pub
 
char buffer [4 *1024]
 
MediaRingBufferWriter ring
 
bool mediaUtcOutput
 是否输出媒体utc时间戳 更多...
 

成员函数说明

◆ GetInst()

static MediaServerCtx* Emx::MediaServerCtx::GetInst ( )
inlinestatic

◆ CheckRangeLegal()

static bool Emx::MediaServerCtx::CheckRangeLegal ( const char *  name,
int  param,
Json::Value &  json 
)
static

◆ CheckItemLegal()

static bool Emx::MediaServerCtx::CheckItemLegal ( const char *  name,
int  param,
Json::Value &  json 
)
static

◆ SetParam()

ErrCodeE Emx::MediaServerCtx::SetParam ( const char *  name,
const Json::Value &  json 
)

◆ GetParam()

ErrCodeE Emx::MediaServerCtx::GetParam ( const char *  name,
Json::Value &  json 
)

◆ GetParamDefault()

ErrCodeE Emx::MediaServerCtx::GetParamDefault ( const char *  name,
Json::Value &  json 
)

◆ GetRange()

ErrCodeE Emx::MediaServerCtx::GetRange ( const char *  name,
Json::Value &  json 
)

◆ GetCfg()

ErrCodeE Emx::MediaServerCtx::GetCfg ( const char *  name,
Json::Value &  json 
)

◆ SetScene()

ErrCodeE Emx::MediaServerCtx::SetScene ( const char *  scene)

◆ GetScene()

const char* Emx::MediaServerCtx::GetScene ( )
inline

类成员变量说明

◆ factory

MediaFactory* Emx::MediaServerCtx::factory

◆ loop

EuvLoop Emx::MediaServerCtx::loop

◆ pub

MsgTopicPublisherAsync Emx::MediaServerCtx::pub

◆ buffer

char Emx::MediaServerCtx::buffer[4 *1024]

◆ ring

MediaRingBufferWriter Emx::MediaServerCtx::ring

◆ mediaUtcOutput

bool Emx::MediaServerCtx::mediaUtcOutput