Handles closed caption operations.
More...
#include <AampCCManager.h>
Handles closed caption operations.
Definition at line 51 of file AampCCManager.h.
◆ Init()
AampCCManagerBase::Init |
( |
void * |
handle | ) |
|
Initialize CC resource.
- Parameters
-
[in] | handle | - decoder handle |
- Returns
- int - 0 on sucess, -1 on failure
Definition at line 578 of file AampCCManager.cpp.
◆ GetId()
virtual int AampCCManagerBase::GetId |
( |
| ) |
|
|
inlinevirtual |
Gets Handle or ID, Every client using subtec must call GetId in the begining , save id, which is required for Release funciton.
- Returns
- int - unique ID
Reimplemented in AampSubtecCCManager.
Definition at line 66 of file AampCCManager.h.
◆ Release()
virtual void AampCCManagerBase::Release |
( |
int |
iID | ) |
|
|
pure virtual |
◆ SetStatus()
AampCCManagerBase::SetStatus |
( |
bool |
enable | ) |
|
Enable/disable CC rendering.
- Parameters
-
[in] | enable | - true to enable CC rendering |
- Returns
- int - 0 on success, -1 on failure
Definition at line 755 of file AampCCManager.cpp.
◆ GetStatus()
bool AampCCManagerBase::GetStatus |
( |
| ) |
|
|
inline |
Get CC rendering status.
- Returns
- bool - true if enabled, false otherwise
Definition at line 87 of file AampCCManager.h.
◆ GetTrack()
const std::string& AampCCManagerBase::GetTrack |
( |
| ) |
|
|
inline |
Get current CC track.
- Returns
- std::string - current CC track
Definition at line 94 of file AampCCManager.h.
◆ SetTrack()
AampCCManagerBase::SetTrack |
( |
const std::string & |
track, |
|
|
const CCFormat |
format = eCLOSEDCAPTION_FORMAT_DEFAULT |
|
) |
| |
Set CC track.
- Parameters
-
[in] | track | - CC track to be selected |
[in] | format | - force track to 608/708 or default |
- Returns
- int - 0 on success, -1 on failure
Definition at line 651 of file AampCCManager.cpp.
◆ SetStyle()
AampCCManagerBase::SetStyle |
( |
const std::string & |
options | ) |
|
Set CC styles for rendering.
- Parameters
-
[in] | options | - rendering style options |
- Returns
- int - 0 on success, -1 on failure
Definition at line 400 of file AampCCManager.cpp.
◆ GetStyle()
const std::string& AampCCManagerBase::GetStyle |
( |
| ) |
|
|
inline |
Get current CC styles.
- Returns
- std::string - current CC options
Definition at line 119 of file AampCCManager.h.
◆ SetTrickplayStatus()
AampCCManagerBase::SetTrickplayStatus |
( |
bool |
enable | ) |
|
To enable/disable CC when trickplay starts/ends.
- Parameters
-
[in] | enable | - true when trickplay starts, false otherwise |
- Returns
- void
Definition at line 609 of file AampCCManager.cpp.
◆ SetParentalControlStatus()
AampCCManagerBase::SetParentalControlStatus |
( |
bool |
locked | ) |
|
To enable/disable CC when parental control locked/unlocked.
- Parameters
-
[in] | locked | - true when parental control lock enabled, false otherwise |
- Returns
- void
Definition at line 628 of file AampCCManager.cpp.
◆ RestoreCC()
AampCCManagerBase::RestoreCC |
( |
| ) |
|
◆ updateLastTextTracks()
void AampCCManagerBase::updateLastTextTracks |
( |
const std::vector< TextTrackInfo > & |
newTextTracks | ) |
|
|
inline |
update stored list of text tracks
- Parameters
-
[in] | newTextTracks | - list of text tracks to store |
- Returns
- void
Definition at line 152 of file AampCCManager.h.
◆ getLastTextTracks()
const std::vector<TextTrackInfo>& AampCCManagerBase::getLastTextTracks |
( |
| ) |
const |
|
inline |
Get list of text tracks.
- Returns
- const std::vector<TextTrackInfo>& - list of text tracks
Definition at line 159 of file AampCCManager.h.
◆ IsOOBCCRenderingSupported()
bool AampCCManagerBase::IsOOBCCRenderingSupported |
( |
| ) |
|
To check whether Out of Band Closed caption/Subtile rendering supported or not.
To check whether Out of Band Closed caption/subtitle rendering supported or not.
- Returns
- bool, True if Out of Band Closed caption/subtitle rendering supported
Definition at line 781 of file AampCCManager.cpp.
◆ StartRendering()
virtual void AampCCManagerBase::StartRendering |
( |
| ) |
|
|
protectedpure virtual |
◆ StopRendering()
virtual void AampCCManagerBase::StopRendering |
( |
| ) |
|
|
protectedpure virtual |
◆ EnsureInitialized()
virtual void AampCCManagerBase::EnsureInitialized |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ EnsureHALInitialized()
virtual void AampCCManagerBase::EnsureHALInitialized |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ EnsureRendererCommsInitialized()
virtual void AampCCManagerBase::EnsureRendererCommsInitialized |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Initialize()
virtual int AampCCManagerBase::Initialize |
( |
void * |
handle | ) |
|
|
inlineprotectedvirtual |
◆ SetDigitalChannel()
virtual int AampCCManagerBase::SetDigitalChannel |
( |
unsigned int |
id | ) |
|
|
protectedpure virtual |
◆ SetAnalogChannel()
virtual int AampCCManagerBase::SetAnalogChannel |
( |
unsigned int |
id | ) |
|
|
protectedpure virtual |
◆ CheckCCHandle()
virtual bool AampCCManagerBase::CheckCCHandle |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ Start()
AampCCManagerBase::Start |
( |
| ) |
|
|
protected |
◆ Stop()
AampCCManagerBase::Stop |
( |
| ) |
|
|
protected |
◆ mOptions
std::string AampCCManagerBase::mOptions {} |
|
protected |
◆ mTrack
std::string AampCCManagerBase::mTrack {} |
|
protected |
◆ mEnabled
bool AampCCManagerBase::mEnabled {false} |
|
protected |
true if CC rendering enabled, false otherwise
Definition at line 249 of file AampCCManager.h.
◆ mTrickplayStarted
bool AampCCManagerBase::mTrickplayStarted {false} |
|
protected |
◆ mParentalCtrlLocked
bool AampCCManagerBase::mParentalCtrlLocked {false} |
|
protected |
The documentation for this class was generated from the following files: