'Tizen::TV::Multimedia' namespace Reference

Enumerations

BufferStatus
Enumerator for buffer status whether empty or full. More...

DisplayType
Enumerator for display type More...

DisplayMode
Enumerator for display mode More...

AudioMimeType
Enumerator for audio mime type More...

DRMType
The type of DRM supported by DRMManager More...

SubmitStatus
Enumerator for es packet submit status More...

SubmitDataType
Enumerators for the type of buffers submitted More...

VideoMimeType
Enumerator for video mime type More...

StreamType
Enumerator for stream type of es stream More...

ESPlayerState
Enumerator for state of ESPlayer More...

DRMESCipherPhase
Enumerator for the phase for cipher More...

DRMESCipherAlgorithm
Enumerator for the algorithm encrypted More...

DRMESMediaFormat
Enumerator for the es media format More...

ErrorType
Enumerator for error type from ESPlayer More...

Functions


Enumerations

BufferStatus

Enumerator
Underrun Status of buffer queue in ESPlayer is underrun.

Overrun Status of buffer queue in ESPlayer is overrun.

Enumerator for buffer status whether empty or full.

public void Apps()
{
 var player = new ESPlayer();
 player.BufferStatusChanged = (s, e) =>
 {
 var streamType = e.StreamType;
 var bufferStatus = e.BufferStatus;
 // your logic
 };
 // your logic </span>
}

Remarks

ESPlayer.BufferStatusChanged

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


DisplayType

Enumerator
None This disposes off buffers
Overlay Overlay surface display
Evas Evas image object surface display

Enumerator for display type

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


DisplayMode

Enumerator
LetterBox Letter box
OriginSize Origin size
FullScreen Full screen
CroppedFull Cropped full screen
OriginOrLetter Origin size (if surface size is larger than video size(width/height)) or Letter box (if video size(width/height) is larger than surface size)

Enumerator for display mode

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


AudioMimeType

Enumerator
Unknown Unknown
Aac AAC
Mp2 MP2
Mp3 MP3
Ac3 AC3
Eac3 EAC3
Vorbis VORBIS
Opus OPUS
PcmS16le PCM_S16LE
PcmS16be PCM_S16BE
PcmU16le PCM_U16LE
PcmU16be PCM_U16BE
PcmS24le PCM_S24LE
PcmS24be PCM_S24BE
PcmU24le PCM_U24LE
PcmU24be PCM_U24BE
PcmS32le PCM_S32LE
PcmS32be PCM_S32BE
PcmU32le PCM_U32LE
PcmU32be PCM_U32BE

Enumerator for audio mime type

public void Apps()
{
 // your logic
 var audioMimeType = AudioMimeType.Ac3;
 // your logic
}

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


DRMType

Enumerator
Playready Playready DRM support
ClearKey ClearKey DRM support

The type of DRM supported by DRMManager

Privilege

http://developer.samsung.com/privilege/drmplay

Privilege Level

non-privilege

Product

TV

Version

4.4.0

SDK Support

Y


SubmitStatus

Enumerator
NotPrepared Not prepared to get packet
InvalidPacket Invalid packet
OutOfMemory Out of memory on device
Full Buffer already full
Success Submit succeeded

Enumerator for es packet submit status

public void Apps()
{
 var player = new ESPlayer();
 // your logic
 var submitStatus = player.SubmitPacket(yourPacket);
 switch(submitStatus)
 {
 case SubmitStatus.NotPrepared :
 // your logic
 }
 // your logic
}

See

ESPlayer.SubmitPacket(ESPacket), ESPlayer.SubmitPacket(ESPacket, ESDRMInfo), ESPlayer.SubmitPacket(ESHandlePacket), ESPlayer.SubmitEosPacket(StreamType)

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


SubmitDataType

Enumerator
CleanData Clean data
EncryptedData Using Encrypted data
TrustZoneData Using Trust zone data

Enumerators for the type of buffers submitted

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

6.6.0

SDK Support

N


VideoMimeType

Enumerator
H263 H.263
H264 H.254
Hevc HEVC
Mpeg1 MPEG-1
Mpeg2 MPEG-2
Mpeg4 MPEG-4
Vp8 VP8
Vp9 VP9
Wmv3 WMV3

Enumerator for video mime type

public void Apps()
{
 // your logic
 var videoMimeType = AudioMimeType.Hevc;
 // your logic
}

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


StreamType

Enumerator
Audio Audio
Video Video
Text Text type.

Enumerator for stream type of es stream

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


ESPlayerState

Enumerator
None ESPlayer is created, but not opened.

Idle ESPlayer is opened, but not prepared or player is stopped.

Ready ESPlayer is ready to play.

Playing ESPlayer is playing media.

Paused ESPlayer is paused while playing media.

Enumerator for state of ESPlayer

public void Apps()
{
 var player = new ESPlayer();
 // your logic
 ESPlayerState state = player.GetState();
 switch(state)
 {
 case ESPlayerState.None :
 // your logic
 }
 // your logic
}

See

ESPlayer.Open, ESPlayer.PrepareAsync, ESPlayer.Start, ESPlayer.Resume, ESPlayer.Pause, ESPlayer.Stop, ESPlayer.SeekAsync, ESPlayer.GetState

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


DRMESCipherPhase

Enumerator
None Phase None
Init Phase Init
Update Phase Update
Final Phase Final

Enumerator for the phase for cipher

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

6.6.0

SDK Support

N


DRMESCipherAlgorithm

Enumerator
Unknown Unknown
Rc4 Rc4
Aes128CTR AES128 CTR mode
Aes128CBC AES128 CBC mode

Enumerator for the algorithm encrypted

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

6.6.0

SDK Support

N


DRMESMediaFormat

Enumerator
None None
Fmp4 fmp4
Ts ts
Asf asf
Fmp4Audio fmp4 audio
Fmp4Video fmp4 video
CleanAudio clean audio
Pes pes

Enumerator for the es media format

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

6.6.0

SDK Support

N


ErrorType

Enumerator
None Successful
OutOfMemory Out of memory
BufferSpace No buffer space available
PermissionDenied Permission denied
InvalidParameter Invalid parameter
InvalidOperator Invalid operation
SeekFailed Seek operation failure
InvalidState Invalid esplayer state
NotSupportedFile File format not supported
ConnectionFailed Streaming connection failed
DRMExpired Expired license
DRMNoLicense No license
DRMFutureUse License for future use
NotPermitted Format not permitted
ResourceLimit Resource limit
NotSupportedAudioCodec Not supported audio codec but video can be played
NotSupportedVideoCodec Not supported video codec but audio can be played
DRMDecryptionFailed DRM decryption failed
NotSupportedFormat Format not supported
Unknown Unknown error

Enumerator for error type from ESPlayer

public void Apps()
{
 var player = new ESPlayer();
 player.ErrorOccurred = (s, e) =>
 {
 switch(e.ErrorType)
 {
 case ErrorType.None:
 // your logic
 }
 };
 // your logic
}

Remarks

ESPlayer.ErrorOccurred

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N


Functions