32 #ifndef OPAL_OPAL_MEDIASTRM_H
33 #define OPAL_OPAL_MEDIASTRM_H
41 #include <ptclib/delaychan.h>
46 #include <ptlib/safecoll.h>
47 #include <ptclib/guid.h>
58 typedef PSafePtr<OpalMediaPatch, PSafePtrMultiThreaded> OpalMediaPatchPtr;
182 bool mergeOnly =
false
201 virtual PBoolean
Open();
205 virtual bool IsOpen()
const;
212 virtual PBoolean
Start();
219 virtual PBoolean
Close();
238 RTP_DataFrameList & packets
401 const PNotifier & filter,
408 const PNotifier & filter,
427 const char * prefix = NULL,
428 Details details = Details::All()
471 P_REMOVE_VIRTUAL_VOID(OnPatchStart());
472 P_REMOVE_VIRTUAL_VOID(OnPatchStop());
526 bool isSynchronous =
false
534 bool requiresPatchThread
610 virtual PBoolean
Open();
614 virtual bool IsOpen()
const;
734 bool autoDelete =
true
776 bool autoDelete =
true
786 const PFilePath & path
833 OpalAudioMediaStream(
840 PSoundChannel * channel,
841 bool autoDelete =
true
846 OpalAudioMediaStream(
853 const PString & deviceName
876 PINDEX m_soundChannelBuffers;
877 unsigned m_soundChannelBufferTime;
880 #endif // OPAL_PTLIB_AUDIO
887 class PVideoInputDevice;
888 class PVideoOutputDevice;
902 PVideoInputDevice * inputDevice,
903 PVideoOutputDevice * outputDevice,
904 bool autoDeleteInput =
true,
905 bool autoDeleteOutput =
true
920 virtual PBoolean
Open();
959 PVideoInputDevice * device,
960 bool autoDelete =
true
973 PVideoOutputDevice * device,
974 bool autoDelete =
true
1001 #endif // OPAL_VIDEO
1050 virtual void InternalClose();
1056 #endif //OPAL_OPAL_MEDIASTRM_H