RDK Documentation (Open Sourced RDK Components)
RMFPlayer Class Reference
Inheritance diagram for RMFPlayer:
Inheritance graph
Collaboration diagram for RMFPlayer:
Collaboration graph

Public Member Functions

 RMFPlayer (RDKMediaPlayer *parent)
 
bool doCanPlayURL (const std::string &url)
 
void doInit ()
 
void doLoad (const std::string &url)
 
void doSetVideoRectangle (const IntRect &rect)
 
void doSetAudioLanguage (std::string &lang)
 
void doPlay ()
 
void doPause ()
 
void doSetPosition (float position)
 
void doSeekToLive ()
 
void doStop ()
 
void doChangeSpeed (float speed, int32_t overshootTime)
 
void doSetSpeed (float speed)
 
void doSetBlocked (bool blocked)
 
void doSetEISSFilterStatus (bool status)
 
void doSetVolume (float volume)
 
void doSetIsInProgressRecording (bool isInProgressRecording)
 
void doSetZoom (int zoom)
 
void doSetNetworkBufferSize (int32_t networkBufferSize)
 
void doSetVideoBufferLength (float videoBufferLength)
 
void getProgressData (ProgressData *progressData)
 
bool isManagementSession () const
 
void mediaPlayerEngineUpdated ()
 
void mediaPlaybackCompleted ()
 
void mediaFrameReceived ()
 
void mediaWarningReceived ()
 
void volumeChanged (float volume)
 
void playerStateChanged ()
 
void videoStateChanged ()
 
void durationChanged ()
 
void timeChanged ()
 
void rateChanged ()
 
void videoDecoderHandleReceived ()
 
void eissDataReceived ()
 
void psiReady ()
 
void sectionDataReceived ()
 
void languageChange ()
 
void psiUpdateReceived (uint8_t psiStatus)
 
void pmtUpdate ()
 
int getCurrentAudioPid ()
 
- Public Member Functions inherited from RDKMediaPlayerImpl
 RDKMediaPlayerImpl (RDKMediaPlayer *parent)
 
RDKMediaPlayergetParent ()
 
TuneState getTuneState ()
 
void setTuneState (TuneState state)
 

Static Public Member Functions

static bool canPlayURL (const std::string &url)
 

Private Member Functions

void doTimeUpdate (bool forced=false)
 
void startPlaybackProgressMonitor ()
 
void stopPlaybackProgressMonitor ()
 
bool refreshCachedCurrentTime (bool forced=false)
 
bool endedPlayback () const
 
bool potentiallyPlaying () const
 
bool couldPlayIfEnoughData () const
 
int get_section_length (vector< uint8_t >sectionDataBuffer)
 
vector< uint8_t > get_multiple_section_data (vector< uint8_t > &sectionDataBuffer, int sectionSize)
 

Static Private Member Functions

static bool setContentType (const std::string &url, std::string &contentType)
 

Private Attributes

std::unique_ptr< MediaPlayerm_mediaPlayer
 
MediaPlayer::RMFPlayerState m_playerState
 
MediaPlayer::RMFVideoBufferState m_videoState
 
MediaPlayer::RMFVideoBufferState m_videoStateMaximum
 
bool m_isLoaded
 
bool m_isPaused
 
ProgressData m_progressData
 
float m_currentTime
 
float m_duration
 
float m_lastReportedCurrentTime
 
float m_lastReportedDuration
 
float m_lastReportedPlaybackRate
 
guint m_playbackProgressMonitorTag
 
gint64 m_lastRefreshTime
 
std::string m_contentType
 
gint64 m_loadStartTime { 0 }
 
gint64 m_setURLTime { 0 }
 
gint64 m_loadedTime { 0 }
 
gint64 m_loadCompleteTime { 0 }
 
gint64 m_playStartTime { 0 }
 
gint64 m_playEndTime { 0 }
 
gint64 m_firstFrameTime { 0 }
 

yes

Definition at line 48 of file rmfplayer.h.


The documentation for this class was generated from the following files: