Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

PVR codec identifier
Used to exchange the desired codec type between Kodi and addon. More...

Topics

 Value Help
 

Classes

class  kodi::addon::PVRCodec
 

Functions

void kodi::addon::PVRCodec::SetCodecType (PVR_CODEC_TYPE codecType)
 Codec type.
 
PVR_CODEC_TYPE kodi::addon::PVRCodec::GetCodecType () const
 To get with SetCodecType() changed values.
 
void kodi::addon::PVRCodec::SetCodecId (unsigned int codecId)
 Codec id.
 
unsigned int kodi::addon::PVRCodec::GetCodecId () const
 To get with SetCodecId() changed values.
 

Detailed Description

PVR codec identifier
Used to exchange the desired codec type between Kodi and addon.

kodi::addon::CInstancePVRClient::GetCodecByName is used to get this data.


The following table contains values that can be set with class PVRCodec :

Name Type Set call Get call
Codec type PVR_CODEC_TYPE SetCodecType GetCodecType
Codec identifier unsigned int SetCodecId GetCodecId

Function Documentation

◆ GetCodecId()

unsigned int kodi::addon::PVRCodec::GetCodecId ( ) const
inline

To get with SetCodecId() changed values.

◆ GetCodecType()

PVR_CODEC_TYPE kodi::addon::PVRCodec::GetCodecType ( ) const
inline

To get with SetCodecType() changed values.

◆ SetCodecId()

void kodi::addon::PVRCodec::SetCodecId ( unsigned int codecId)
inline

Codec id.

Related codec identifier, normally match the ffmpeg id's.

◆ SetCodecType()

void kodi::addon::PVRCodec::SetCodecType ( PVR_CODEC_TYPE codecType)
inline

Codec type.