React Native OTVPlayer

Global

Members

AUDIO_ENCODING_TYPEnumber

The supported audio track encoding types.

Properties:
Name Type Description
AUDIO_ENCODING_TYPE.AAC number

0

AUDIO_ENCODING_TYPE.AC3 number

1

AUDIO_ENCODING_TYPE.DTS number

2

AUDIO_ENCODING_TYPE.MPEG number

3

AUDIO_ENCODING_TYPE.UNKNOWN number

1000

DRMTypesstring

supported DRM types

Properties:
Name Type Description
DRMTypes.WIDEVINE string

"Widevine"

DRMTypes.PLAYREADY string

"Playready"

DRMTypes.FAIRPLAY string

"Fairplay"

DRMTypes.TVKEY string

"TVKey"

DRMTypes.CONNECT string

"Connect"

ERROR_TABLEnumber

Error table enum

Properties:
Name Type Default Description
Unknown number 1000

Unknown

"Source not supported" number 1001

Source type error

"Source not found" number 1002

Source type error

"Manifest error" number 1003

Source type error

"Demux/decode error" number 2001

Media type error

"Invalid volume level" number 2003

Media type error

"No text track available" number 2004

Media type error

"Invalid stream format" number 2005

Media type error

"Unknown media" number 2100

Media type error

"Response timeout" number 3002

Network type error

"HTTP network request failed" number 3003

Network type error

"Provisioning error" number 5001

DRM type error

"DRM type not supported" number 5002

DRM type error

"Instance creation failure" number 5003

DRM type error

"License expired" number 5004

DRM type error

"License data error" number 5005

DRM type error

"License request failed" number 5006

DRM type error

"License response was rejected by CDM" number 5007

DRM type error

"Content decryption error" number 5008

DRM type error

"Unspecified DRM Management error" number 5009

DRM type error

"SSP Error" number 5020

DRM type error

"CONNECT error" number 5021

DRM type error

"Content token not available" number 5022

Content token error

"Feching Connect opVault error" number 5023

Feching Connect opVault error

"Setup error" number 6001

SSM type error

"Teardown error" number 6002

SSM type error

"Heartbeat error" number 6003

SSM type error

"User Reached maximum session limit" number 6004

User Reached maximum session limit

"Mime type invalid" number 7001

Player type error

"progressUpdateInterval- invalid" number 7002

Player type error

"Invalid text/audio track index" number 7003

Player type error

"Out of bound seek request" number 7004

Player type error

"Invalid bitrate index" number 7005

Player type error

"Plugin internal error" number 7010

Player type error

"Thumbnail Item error" number 7020

Thumbnail Item Error

"Thumbnail Position error" number 7021

Thumbnail Position Error

"Thumbnail Style error" number 7022

Thumbnail Style error

"Thumbnail not available" number 7023

Thumbnail not available

"Thumbnail Status unknown" number 7024

Thumbnail Status unknown

"Autoplay rejected by Browser" number 7026

Autoplay rejected by Browser

OTVSDK_LOGLEVELnumber

The available detail-levels for the SDK's logs

Properties:
Name Type Description
OTVSDK_LOGLEVEL.ERROR number

0

OTVSDK_LOGLEVEL.WARNING number

1

OTVSDK_LOGLEVEL.INFO number

2

OTVSDK_LOGLEVEL.DEBUG number

3

OTVSDK_LOGLEVEL.VERBOSE number

4

STATISTICS_TYPESnumber

The available stats when setting the 'statisticsEnabled' property. Use bitwise or to enable multiple groups, eg. RENDERING | NETWORK | DRM

Properties:
Name Type Description
STATISTICS_TYPES.NONE number

0

STATISTICS_TYPES.ALL number

~0

STATISTICS_TYPES.RENDERING number

1

STATISTICS_TYPES.NETWORK number

1<<1

STATISTICS_TYPES.PLAYBACK number

1<<2

STATISTICS_TYPES.EVENT number

1<<3

STATISTICS_TYPES.DRM number

1<<4

TEXT_ENCODING_TYPEnumber

The supported text track encoding types.

Properties:
Name Type Description
TEXT_ENCODING_TYPE.BITMAP number

0

TEXT_ENCODING_TYPE.EIA_608 number

1

TEXT_ENCODING_TYPE.EIA_708 number

2

TEXT_ENCODING_TYPE.ID3 number

3

TEXT_ENCODING_TYPE.SMPTE number

4

TEXT_ENCODING_TYPE.SRT number

5

TEXT_ENCODING_TYPE.WEBVTT number

6

TEXT_ENCODING_TYPE.UNKNOWN number

1000