Kodi Development  20.0
for Binary and Script based Add-Ons

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

Modules

 Value Help
 

Function Documentation

◆ SetCodecType()

void SetCodecType ( PVR_CODEC_TYPE  codecType)
inline

Codec type.

◆ GetCodecType()

PVR_CODEC_TYPE GetCodecType ( ) const
inline

To get with SetCodecType() changed values.

◆ SetCodecId()

void SetCodecId ( unsigned int  codecId)
inline

Codec id.

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

◆ GetCodecId()

unsigned int GetCodecId ( ) const
inline

To get with SetCodecId() changed values.