|
| CASService (const EventEmitter &emit, const CASEnvironment &env, ICasSectionFilter *casSFInterface, ICasPipeline *casPipelineInterface) |
|
bool | initialize (bool management, const std::string &casOcdmId, PSIInfo *psiInfo) |
| This API to initialize the CAS Serivce includes casManager and casHelper. More...
|
|
bool | startStopDecrypt (const std::vector< uint16_t > &startPids, const std::vector< uint16_t > &stopPids) |
| This API to start/stop the decryption of the audio/video content. More...
|
|
void | updatePSI (const std::vector< uint8_t > &pat, const std::vector< uint8_t > &pmt, const std::vector< uint8_t > &cat) |
| This API is updatePSI when PAT/PMT/CAT updates. More...
|
|
virtual void | informStatus (const CASStatus &status) override |
| This API is invoked by CAS plugin when it requires to sends the CAS Status. More...
|
|
void | casPublicData (const std::vector< uint8_t > &data) |
| This API is invoked by CAS plugin when it requires to push data. More...
|
|
void | processSectionData (const uint32_t &filterId, const std::vector< uint8_t > &data) |
| This API is invoked by CAS plugin when it requires to push data. More...
|
|
std::shared_ptr< CASHelper > | getCasHelper () |
| This API is to get CASHelper. More...
|
|
bool | isManagementSession () const |
| This API is to check whether current one is for Managemnet or Tuning Session. More...
|
|
|
std::shared_ptr< CASManager > | casManager_ |
|
std::shared_ptr< CASHelper > | casHelper_ |
|
EventEmitter | emit_ |
|
PSIInfo | psiInfo |
|
bool | bManagementSession_ |
|
std::string | casOcdmId_ |
|
CASEnvironment | env_ |
|
ICasSectionFilter * | casSFInterface_ |
|
ICasPipeline * | casPipelineInterface_ |
|
Definition at line 44 of file casservice.h.
◆ initialize()
bool CASService::initialize |
( |
bool |
management, |
|
|
const std::string & |
casOcdmId, |
|
|
PSIInfo * |
psiInfo |
|
) |
| |
This API to initialize the CAS Serivce includes casManager and casHelper.
- Parameters
-
[in] | management | flag to represents whether CAS created for Management |
[in] | casOcdmId | CAS openCDM Id |
[in] | psiInfo | PSI info, more of PAT, PMT, CAT |
- Returns
- Returns status of the operation true or false
- Return values
-
true | on success, false upon any failure. |
◆ startStopDecrypt()
bool CASService::startStopDecrypt |
( |
const std::vector< uint16_t > & |
startPids, |
|
|
const std::vector< uint16_t > & |
stopPids |
|
) |
| |
This API to start/stop the decryption of the audio/video content.
- Parameters
-
[in] | startPids | Pids List to be started to play (Audio Video Pids) |
[in] | stopPids | Pids List to be stopped which is currently playing (empty for the Channel tune, e.g. used upon Audio Language change) |
- Returns
- Returns status of the operation true or false
- Return values
-
true | on success, false upon any failure. |
◆ updatePSI()
void CASService::updatePSI |
( |
const std::vector< uint8_t > & |
pat, |
|
|
const std::vector< uint8_t > & |
pmt, |
|
|
const std::vector< uint8_t > & |
cat |
|
) |
| |
This API is updatePSI when PAT/PMT/CAT updates.
- Parameters
-
[in] | pat | updated PAT Buffer |
[in] | pmt | updated PMT Buffer |
[in] | cat | updated CAT Buffer |
◆ informStatus()
virtual void CASService::informStatus |
( |
const CASStatus & |
status | ) |
|
|
overridevirtual |
This API is invoked by CAS plugin when it requires to sends the CAS Status.
- Parameters
-
[in] | status | CAS Status which contains the status, errorno and message |
◆ casPublicData()
void CASService::casPublicData |
( |
const std::vector< uint8_t > & |
data | ) |
|
This API is invoked by CAS plugin when it requires to push data.
- Parameters
-
[in] | data | data to be send back as response asynchronously |
◆ processSectionData()
void CASService::processSectionData |
( |
const uint32_t & |
filterId, |
|
|
const std::vector< uint8_t > & |
data |
|
) |
| |
This API is invoked by CAS plugin when it requires to push data.
- Parameters
-
[in] | filterId | filter id for the corressponding section data received |
[in] | data | section data to be processed |
◆ getCasHelper()
std::shared_ptr<CASHelper> CASService::getCasHelper |
( |
| ) |
|
|
inline |
This API is to get CASHelper.
- Returns
- Returns the CAS Helper object
Definition at line 114 of file casservice.h.
◆ isManagementSession()
bool CASService::isManagementSession |
( |
| ) |
const |
This API is to check whether current one is for Managemnet or Tuning Session.
- Returns
- Returns true or false whether it is a session for tuning or management
- Return values
-
true | if a management session, false otherwise |
The documentation for this class was generated from the following file: