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;
200 virtual PBoolean
Open();
204 virtual bool IsOpen()
const;
211 virtual PBoolean
Start();
218 virtual PBoolean
Close();
237 RTP_DataFrameList & packets
385 bool fromPatch =
false
401 const PNotifier & filter,
408 const PNotifier & filter,
453 P_REMOVE_VIRTUAL_VOID(OnPatchStart());
454 P_REMOVE_VIRTUAL_VOID(OnPatchStop());
508 bool isSynchronous =
false
516 bool requiresPatchThread
546 bool fromPatch =
false
600 virtual PBoolean
Open();
604 virtual bool IsOpen()
const;
611 bool fromPatch =
false
731 bool autoDelete =
true
773 bool autoDelete =
true
783 const PFilePath & path
830 OpalAudioMediaStream(
837 PSoundChannel * channel,
838 bool autoDelete =
true
843 OpalAudioMediaStream(
850 const PString & deviceName
873 PINDEX m_soundChannelBuffers;
874 unsigned m_soundChannelBufferTime;
877 #endif // OPAL_PTLIB_AUDIO
884 class PVideoInputDevice;
885 class PVideoOutputDevice;
899 PVideoInputDevice * inputDevice,
900 PVideoOutputDevice * outputDevice,
901 bool autoDeleteInput =
true,
902 bool autoDeleteOutput =
true
917 virtual PBoolean
Open();
967 PVideoInputDevice * device,
968 bool autoDelete =
true
981 PVideoOutputDevice * device,
982 bool autoDelete =
true
1008 #endif // OPAL_VIDEO
1057 virtual void InternalClose();
1063 #endif //OPAL_OPAL_MEDIASTRM_H