top

'Tizen::TV::Multimedia' namespace Reference

Enumerations

BufferStatus
Enumerator for buffer status whether empty or full. More...
StreamType
Enumerator for stream type of es stream More...
SubmitStatus
Enumerator for es packet submit status More...
ErrorType
Enumerator for error type from ESPlayer More...
DRMType
The type of DRM supported by DRMManager More...
DisplayType
Enumerator for display type More...
DisplayMode
Enumerator for display mode More...
VideoMimeType
Enumerator for video mime type More...
ESPlayerState
Enumerator for state of ESPlayer More...
AudioMimeType
Enumerator for audio mime type 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

Version

5.5.0

StreamType
Enumerator
AudioAudio
VideoVideo
TextText type.

   Enumerator for stream type of es stream

Privilege

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

Privilege Level

Partner

Version

5.5.0

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
}
 

Remarks

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

Privilege

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

Privilege Level

Partner

Version

5.5.0

ErrorType
Enumerator
NoneSuccessful
OutOfMemoryOut of memory
SeekFailedSeek operation failure
InvalidStateInvalid esplayer state
ResourceLimitResource limit
PermissionDeniedPermission denied
BufferSpaceNo buffer space available
NotSupportedAudioCodecNot supported audio codec but video can be played
NotSupportedVideoCodecNot supported video codec but audio can be played

   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

Version

5.5.0

DRMType
Enumerator
PlayreadyPlayready DRM support

   The type of DRM supported by DRMManager

Privilege

none

Privilege Level

non-privilege

Version

4.4.0

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

Version

5.5.0

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

Version

5.5.0

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

Version

5.5.0

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
}
 

Remarks

   ESPlayer.Open ESPlayer.PrepareAsync(System.Action) ESPlayer.Start
   ESPlayer.Resume
   ESPlayer.Pause
   ESPlayer.Stop
   ESPlayer.GetState

Privilege

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

Privilege Level

Partner

Version

5.5.0

AudioMimeType
Enumerator
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

Version

5.5.0

Functions