GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
GPAC_MediaRenderer Class Reference

#include <GPACMediaRenderer.h>

+ Inheritance diagram for GPAC_MediaRenderer:
+ Collaboration diagram for GPAC_MediaRenderer:

Public Member Functions

 GPAC_MediaRenderer (GF_UPnP *upnp, const char *friendly_name, bool show_ip=false, const char *uuid=NULL, unsigned int port=0)
 
virtual NPT_Result SetupServices ()
 
virtual NPT_Result OnAction (PLT_ActionReference &action, const PLT_HttpRequestContext &context)
 
void SetDuration (Double duration, Bool can_seek)
 
void SetTime (Double time)
 
void SetConnected (const char *url)
 

Protected Member Functions

virtual ~GPAC_MediaRenderer ()
 
virtual NPT_Result OnGetCurrentConnectionInfo (PLT_ActionReference &action)
 
virtual NPT_Result OnNext (PLT_ActionReference &action)
 
virtual NPT_Result OnPause (PLT_ActionReference &action)
 
virtual NPT_Result OnPlay (PLT_ActionReference &action)
 
virtual NPT_Result OnPrevious (PLT_ActionReference &action)
 
virtual NPT_Result OnSeek (PLT_ActionReference &action)
 
virtual NPT_Result OnStop (PLT_ActionReference &action)
 
virtual NPT_Result OnSetAVTransportURI (PLT_ActionReference &action)
 
virtual NPT_Result OnSetPlayMode (PLT_ActionReference &action)
 
virtual NPT_Result OnSetVolume (PLT_ActionReference &action)
 
virtual NPT_Result OnSetVolumeDB (PLT_ActionReference &action)
 
virtual NPT_Result OnSetMute (PLT_ActionReference &action)
 
virtual NPT_Result OnGetVolumeDBRange (PLT_ActionReference &action)
 

Private Attributes

GF_UPnPm_pUPnP
 
Bool m_connected
 
PLT_Service * m_pAVService
 
PLT_Service * m_pMigrationService
 
GF_List * m_mediaHistoryList
 
u32 m_track_pos
 
u32 m_volume
 
Bool m_muted
 
Bool m_l_muted
 
Bool m_r_muted
 
NPT_String m_ip_src
 
Double m_Duration
 
Double m_Time
 

Constructor & Destructor Documentation

GPAC_MediaRenderer::GPAC_MediaRenderer ( GF_UPnP upnp,
const char *  friendly_name,
bool  show_ip = false,
const char *  uuid = NULL,
unsigned int  port = 0 
)

+ Here is the call graph for this function:

GPAC_MediaRenderer::~GPAC_MediaRenderer ( )
protectedvirtual

+ Here is the call graph for this function:

Member Function Documentation

NPT_Result GPAC_MediaRenderer::SetupServices ( )
virtual
NPT_Result GPAC_MediaRenderer::OnAction ( PLT_ActionReference &  action,
const PLT_HttpRequestContext &  context 
)
virtual

+ Here is the call graph for this function:

void GPAC_MediaRenderer::SetDuration ( Double  duration,
Bool  can_seek 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GPAC_MediaRenderer::SetTime ( Double  time)

+ Here is the call graph for this function:

void GPAC_MediaRenderer::SetConnected ( const char *  url)

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnGetCurrentConnectionInfo ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnNext ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnPause ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnPlay ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnPrevious ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnSeek ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnStop ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnSetAVTransportURI ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnSetPlayMode ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnSetVolume ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnSetVolumeDB ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnSetMute ( PLT_ActionReference &  action)
protectedvirtual

+ Here is the caller graph for this function:

NPT_Result GPAC_MediaRenderer::OnGetVolumeDBRange ( PLT_ActionReference &  action)
protectedvirtual

Field Documentation

GF_UPnP* GPAC_MediaRenderer::m_pUPnP
private
Bool GPAC_MediaRenderer::m_connected
private
PLT_Service* GPAC_MediaRenderer::m_pAVService
private
PLT_Service* GPAC_MediaRenderer::m_pMigrationService
private
GF_List* GPAC_MediaRenderer::m_mediaHistoryList
private
u32 GPAC_MediaRenderer::m_track_pos
private
u32 GPAC_MediaRenderer::m_volume
private
Bool GPAC_MediaRenderer::m_muted
private
Bool GPAC_MediaRenderer::m_l_muted
private
Bool GPAC_MediaRenderer::m_r_muted
private
NPT_String GPAC_MediaRenderer::m_ip_src
private
Double GPAC_MediaRenderer::m_Duration
private
Double GPAC_MediaRenderer::m_Time
private

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