53 #include "mb/IMBDefs.h"
55 #include "system/compat/SystemCompat.h"
56 using namespace ::br::pucrio::telemidia::ginga::core::system::compat;
72 #include "audio_hal.h"
73 #include "video_hal.h"
80 #include "GeodeVideo4Linux.h"
83 #include "system/thread/Thread.h"
84 using namespace ::br::pucrio::telemidia::ginga::core::system::thread;
86 #ifdef IPROVIDERLISTENER
87 #undef IPROVIDERLISTENER
90 #include "mb/interface/IContinuousMediaProvider.h"
91 #include "mb/interface/IWindow.h"
92 #include "mb/interface/IProviderListener.h"
93 using namespace ::br::pucrio::telemidia::ginga::core::mb;
96 #include "PlayersComponentSupport.h"
99 #include "RTPListener.h"
108 namespace telemidia {
115 public IProviderListener {
118 pthread_mutex_t pMutex;
119 pthread_mutex_t tMutex;
133 IContinuousMediaProvider* provider;
141 AVPlayer(GingaScreenID screenId,
string mrl,
bool hasVisual);
149 AVPlayer(GingaScreenID screenId, video_t *video);
150 AVPlayer(GingaScreenID screenId, audio_t *audio);
155 ISurface* getSurface();
158 void createProvider();
159 static void* createProviderT(
void* ptr);
166 void solveRemoteMrl();
169 static void initializeAudio(
int numArgs,
char* args[]);
170 static void releaseAudio();
174 void setSoundLevel(
float level);
175 ISurface* createFrame();
178 void getOriginalResolution(
int* width,
int* height);
179 double getTotalMediaTime();
181 void timeShift(
string direction);
184 double getCurrentMediaTime();
187 double getMediaTime();
188 void setMediaTime(
double pos);
189 void setStopTime(
double pos);
190 double getStopTime();
193 short type=TYPE_PRESENTATION,
194 double begin=-1,
double end=-1,
double outTransDur=-1);
201 virtual void setPropertyValue(
string name,
string value);
205 void setMrl(
const char* mrl);
210 void setAVPid(
int aPid,
int vPid);
213 bool setOutWindow(GingaWindowID windowId);
214 void setAlphaBlend(
int x,
int y,
int w,
int h);
218 bool checkVideoResizeEvent();
Definition: IPlayerListener.h:62
Definition: AVPlayer.h:112
Definition: RTPListener.h:75