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
386 bool fromPatch =
false
402 const PNotifier & filter,
409 const PNotifier & filter,
455 P_REMOVE_VIRTUAL_VOID(OnPatchStart());
456 P_REMOVE_VIRTUAL_VOID(OnPatchStop());
510 bool isSynchronous =
false
518 bool requiresPatchThread
548 bool fromPatch =
false
602 virtual PBoolean
Open();
606 virtual bool IsOpen()
const;
613 bool fromPatch =
false
733 bool autoDelete =
true
775 bool autoDelete =
true
785 const PFilePath & path
832 OpalAudioMediaStream(
839 PSoundChannel * channel,
840 bool autoDelete =
true
845 OpalAudioMediaStream(
852 const PString & deviceName
875 PINDEX m_soundChannelBuffers;
876 unsigned m_soundChannelBufferTime;
879 #endif // OPAL_PTLIB_AUDIO
886 class PVideoInputDevice;
887 class PVideoOutputDevice;
901 PVideoInputDevice * inputDevice,
902 PVideoOutputDevice * outputDevice,
903 bool autoDeleteInput =
true,
904 bool autoDeleteOutput =
true
919 virtual PBoolean
Open();
969 PVideoInputDevice * device,
970 bool autoDelete =
true
983 PVideoOutputDevice * device,
984 bool autoDelete =
true
1010 #endif // OPAL_VIDEO
1059 virtual void InternalClose();
1065 #endif //OPAL_OPAL_MEDIASTRM_H