StreamState Class Reference

List of all members.


Detailed Description

Definition at line 99 of file OnDemandServerMediaSubsession.cpp.


Public Member Functions

 StreamState (Port const &serverRTPPort, Port const &serverRTCPPort, RTPSink *rtpSink, BasicUDPSink *udpSink, float streamDuration, unsigned totalBW, char *CNAME, FramedSource *mediaSource, Groupsock *rtpGS, Groupsock *rtcpGS)
virtual ~StreamState ()
void startPlaying (Destinations *destinations, TaskFunc *rtcpRRHandler, void *rtcpRRHandlerClientData)
void pause ()
void endPlaying (Destinations *destinations)
void reclaim ()
unsigned & referenceCount ()
Port const & serverRTPPort () const
Port const & serverRTCPPort () const
RTPSink const * rtpSink () const
float streamDuration () const
FramedSource * mediaSource () const

Private Attributes

Boolean fAreCurrentlyPlaying
unsigned fReferenceCount
Port fServerRTPPort
Port fServerRTCPPort
RTPSink * fRTPSink
BasicUDPSink * fUDPSink
float fStreamDuration
unsigned fTotalBW
char * fCNAME
RTCPInstance * fRTCPInstance
FramedSource * fMediaSource
Groupsock * fRTPgs
Groupsock * fRTCPgs

Constructor & Destructor Documentation

StreamState::StreamState ( Port const &  serverRTPPort,
Port const &  serverRTCPPort,
RTPSink *  rtpSink,
BasicUDPSink *  udpSink,
float  streamDuration,
unsigned  totalBW,
char *  CNAME,
FramedSource *  mediaSource,
Groupsock *  rtpGS,
Groupsock *  rtcpGS 
)

Definition at line 392 of file OnDemandServerMediaSubsession.cpp.

StreamState::~StreamState (  )  [virtual]

Definition at line 404 of file OnDemandServerMediaSubsession.cpp.


Member Function Documentation

void StreamState::startPlaying ( Destinations destinations,
TaskFunc *  rtcpRRHandler,
void *  rtcpRRHandlerClientData 
)

Definition at line 409 of file OnDemandServerMediaSubsession.cpp.

void StreamState::pause (  ) 

Definition at line 450 of file OnDemandServerMediaSubsession.cpp.

void StreamState::endPlaying ( Destinations destinations  ) 

Definition at line 456 of file OnDemandServerMediaSubsession.cpp.

void StreamState::reclaim (  ) 

Definition at line 475 of file OnDemandServerMediaSubsession.cpp.

Referenced by afterPlayingStreamState(), and ~StreamState().

unsigned& StreamState::referenceCount (  )  [inline]

Definition at line 114 of file OnDemandServerMediaSubsession.cpp.

Port const& StreamState::serverRTPPort (  )  const [inline]

Definition at line 116 of file OnDemandServerMediaSubsession.cpp.

Port const& StreamState::serverRTCPPort (  )  const [inline]

Definition at line 117 of file OnDemandServerMediaSubsession.cpp.

RTPSink const* StreamState::rtpSink (  )  const [inline]

Definition at line 119 of file OnDemandServerMediaSubsession.cpp.

float StreamState::streamDuration (  )  const [inline]

Definition at line 121 of file OnDemandServerMediaSubsession.cpp.

Referenced by afterPlayingStreamState().

FramedSource* StreamState::mediaSource (  )  const [inline]

Definition at line 123 of file OnDemandServerMediaSubsession.cpp.


Member Data Documentation

Definition at line 126 of file OnDemandServerMediaSubsession.cpp.

Referenced by pause(), and startPlaying().

unsigned StreamState::fReferenceCount [private]

Definition at line 127 of file OnDemandServerMediaSubsession.cpp.

Referenced by reclaim().

Definition at line 129 of file OnDemandServerMediaSubsession.cpp.

Definition at line 129 of file OnDemandServerMediaSubsession.cpp.

RTPSink* StreamState::fRTPSink [private]

Definition at line 131 of file OnDemandServerMediaSubsession.cpp.

Referenced by endPlaying(), pause(), reclaim(), and startPlaying().

BasicUDPSink* StreamState::fUDPSink [private]

Definition at line 132 of file OnDemandServerMediaSubsession.cpp.

Referenced by pause(), reclaim(), and startPlaying().

Definition at line 134 of file OnDemandServerMediaSubsession.cpp.

unsigned StreamState::fTotalBW [private]

Definition at line 135 of file OnDemandServerMediaSubsession.cpp.

Referenced by startPlaying().

char* StreamState::fCNAME [private]

Definition at line 135 of file OnDemandServerMediaSubsession.cpp.

Referenced by startPlaying().

RTCPInstance* StreamState::fRTCPInstance [private]

Definition at line 135 of file OnDemandServerMediaSubsession.cpp.

Referenced by endPlaying(), reclaim(), and startPlaying().

FramedSource* StreamState::fMediaSource [private]

Definition at line 137 of file OnDemandServerMediaSubsession.cpp.

Referenced by reclaim(), and startPlaying().

Groupsock* StreamState::fRTPgs [private]

Definition at line 139 of file OnDemandServerMediaSubsession.cpp.

Referenced by endPlaying(), reclaim(), and startPlaying().

Groupsock* StreamState::fRTCPgs [private]

Definition at line 139 of file OnDemandServerMediaSubsession.cpp.

Referenced by endPlaying(), reclaim(), and startPlaying().


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

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5