top

'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...
SubmitDataType
Enumerators for the type of buffers submitted More...
SubmitStatus
Enumerator for es packet submit status 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
UnderrunStatus of buffer queue in ESPlayer is underrun.
OverrunStatus 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 
}
 

Remarks

   ESPlayer.BufferStatusChanged

Privilege

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

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N

DisplayType
Enumerator
NoneThis disposes off buffers
OverlayOverlay surface display
EvasEvas 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
LetterBoxLetter box
OriginSizeOrigin size
FullScreenFull screen
CroppedFullCropped full screen
OriginOrLetterOrigin 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
UnknownUnknown
AacAAC
Mp2MP2
Mp3MP3
Ac3AC3
Eac3EAC3
VorbisVORBIS
OpusOPUS
PcmS16lePCM_S16LE
PcmS16bePCM_S16BE
PcmU16lePCM_U16LE
PcmU16bePCM_U16BE
PcmS24lePCM_S24LE
PcmS24bePCM_S24BE
PcmU24lePCM_U24LE
PcmU24bePCM_U24BE
PcmS32lePCM_S32LE
PcmS32bePCM_S32BE
PcmU32lePCM_U32LE
PcmU32bePCM_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
PlayreadyPlayready DRM support
ClearKeyClearKey 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

SubmitDataType
Enumerator
CleanDataClean data
EncryptedDataUsing Encrypted data
TrustZoneDataUsing 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

SubmitStatus
Enumerator
NotPreparedNot prepared to get packet
InvalidPacketInvalid packet
OutOfMemoryOut of memory on device
FullBuffer already full
SuccessSubmit 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

VideoMimeType
Enumerator
H263H.263
H264H.254
HevcHEVC
Mpeg1MPEG-1
Mpeg2MPEG-2
Mpeg4MPEG-4
Vp8VP8
Vp9VP9
Wmv3WMV3

   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
AudioAudio
VideoVideo
TextText 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
NoneESPlayer is created, but not opened.
IdleESPlayer is opened, but not prepared or player is stopped.
ReadyESPlayer is ready to play.
PlayingESPlayer is playing media.
PausedESPlayer 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
NonePhase None
InitPhase Init
UpdatePhase Update
FinalPhase 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
UnknownUnknown
Rc4Rc4
Aes128CTRAES128 CTR mode
Aes128CBCAES128 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
NoneNone
Fmp4fmp4
Tsts
Asfasf
Fmp4Audiofmp4 audio
Fmp4Videofmp4 video
CleanAudioclean audio
Pespes

   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
NoneSuccessful
OutOfMemoryOut of memory
BufferSpaceNo buffer space available
PermissionDeniedPermission denied
InvalidParameterInvalid parameter
InvalidOperatorInvalid operation
SeekFailedSeek operation failure
InvalidStateInvalid esplayer state
NotSupportedFileFile format not supported
ConnectionFailedStreaming connection failed
DRMExpiredExpired license
DRMNoLicenseNo license
DRMFutureUseLicense for future use
NotPermittedFormat not permitted
ResourceLimitResource limit
NotSupportedAudioCodecNot supported audio codec but video can be played
NotSupportedVideoCodecNot supported video codec but audio can be played
DRMDecryptionFailedDRM decryption failed
NotSupportedFormatFormat not supported
UnknownUnknown 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