live
Public Member Functions | Private Attributes
StreamState Class Reference

#include <OnDemandServerMediaSubsession.hh>

Collaboration diagram for StreamState:
Collaboration graph
[legend]

Public Member Functions

 StreamState (OnDemandServerMediaSubsession &master, Port const &serverRTPPort, Port const &serverRTCPPort, RTPSink *rtpSink, BasicUDPSink *udpSink, unsigned totalBW, FramedSource *mediaSource, Groupsock *rtpGS, Groupsock *rtcpGS)
 
virtual ~StreamState ()
 
void startPlaying (Destinations *destinations, unsigned clientSessionId, TaskFunc *rtcpRRHandler, void *rtcpRRHandlerClientData, ServerRequestAlternativeByteHandler *serverRequestAlternativeByteHandler, void *serverRequestAlternativeByteHandlerClientData)
 
void pause ()
 
void sendRTCPAppPacket (u_int8_t subtype, char const *name, u_int8_t *appDependentData, unsigned appDependentDataSize)
 
void endPlaying (Destinations *destinations, unsigned clientSessionId)
 
void reclaim ()
 
unsigned & referenceCount ()
 
Port const & serverRTPPort () const
 
Port const & serverRTCPPort () const
 
RTPSinkrtpSink () const
 
RTCPInstancertcpInstance () const
 
float streamDuration () const
 
FramedSourcemediaSource () const
 
float & startNPT ()
 

Private Attributes

OnDemandServerMediaSubsessionfMaster
 
Boolean fAreCurrentlyPlaying
 
unsigned fReferenceCount
 
Port fServerRTPPort
 
Port fServerRTCPPort
 
RTPSinkfRTPSink
 
BasicUDPSinkfUDPSink
 
float fStreamDuration
 
unsigned fTotalBW
 
RTCPInstancefRTCPInstance
 
FramedSourcefMediaSource
 
float fStartNPT
 
GroupsockfRTPgs
 
GroupsockfRTCPgs
 

Detailed Description

Definition at line 180 of file OnDemandServerMediaSubsession.hh.

Constructor & Destructor Documentation

◆ StreamState()

StreamState::StreamState ( OnDemandServerMediaSubsession master,
Port const &  serverRTPPort,
Port const &  serverRTCPPort,
RTPSink rtpSink,
BasicUDPSink udpSink,
unsigned  totalBW,
FramedSource mediaSource,
Groupsock rtpGS,
Groupsock rtcpGS 
)

◆ ~StreamState()

virtual StreamState::~StreamState ( )
virtual

Member Function Documentation

◆ endPlaying()

void StreamState::endPlaying ( Destinations destinations,
unsigned  clientSessionId 
)

◆ mediaSource()

FramedSource * StreamState::mediaSource ( ) const
inline

Definition at line 209 of file OnDemandServerMediaSubsession.hh.

209{ return fMediaSource; }

References fMediaSource.

◆ pause()

void StreamState::pause ( )

◆ reclaim()

void StreamState::reclaim ( )

◆ referenceCount()

unsigned & StreamState::referenceCount ( )
inline

Definition at line 199 of file OnDemandServerMediaSubsession.hh.

199{ return fReferenceCount; }

References fReferenceCount.

◆ rtcpInstance()

RTCPInstance * StreamState::rtcpInstance ( ) const
inline

Definition at line 205 of file OnDemandServerMediaSubsession.hh.

205{ return fRTCPInstance; }

References fRTCPInstance.

◆ rtpSink()

RTPSink * StreamState::rtpSink ( ) const
inline

Definition at line 204 of file OnDemandServerMediaSubsession.hh.

204{ return fRTPSink; }

References fRTPSink.

◆ sendRTCPAppPacket()

void StreamState::sendRTCPAppPacket ( u_int8_t  subtype,
char const *  name,
u_int8_t *  appDependentData,
unsigned  appDependentDataSize 
)

◆ serverRTCPPort()

Port const & StreamState::serverRTCPPort ( ) const
inline

Definition at line 202 of file OnDemandServerMediaSubsession.hh.

References fServerRTCPPort.

◆ serverRTPPort()

Port const & StreamState::serverRTPPort ( ) const
inline

Definition at line 201 of file OnDemandServerMediaSubsession.hh.

References fServerRTPPort.

◆ startNPT()

float & StreamState::startNPT ( )
inline

Definition at line 210 of file OnDemandServerMediaSubsession.hh.

210{ return fStartNPT; }

References fStartNPT.

◆ startPlaying()

void StreamState::startPlaying ( Destinations destinations,
unsigned  clientSessionId,
TaskFunc rtcpRRHandler,
void *  rtcpRRHandlerClientData,
ServerRequestAlternativeByteHandler serverRequestAlternativeByteHandler,
void *  serverRequestAlternativeByteHandlerClientData 
)

◆ streamDuration()

float StreamState::streamDuration ( ) const
inline

Definition at line 207 of file OnDemandServerMediaSubsession.hh.

References fStreamDuration.

Field Documentation

◆ fAreCurrentlyPlaying

Boolean StreamState::fAreCurrentlyPlaying
private

Definition at line 214 of file OnDemandServerMediaSubsession.hh.

◆ fMaster

OnDemandServerMediaSubsession& StreamState::fMaster
private

Definition at line 213 of file OnDemandServerMediaSubsession.hh.

◆ fMediaSource

FramedSource* StreamState::fMediaSource
private

Definition at line 226 of file OnDemandServerMediaSubsession.hh.

Referenced by mediaSource().

◆ fReferenceCount

unsigned StreamState::fReferenceCount
private

Definition at line 215 of file OnDemandServerMediaSubsession.hh.

Referenced by referenceCount().

◆ fRTCPgs

Groupsock* StreamState::fRTCPgs
private

Definition at line 230 of file OnDemandServerMediaSubsession.hh.

◆ fRTCPInstance

RTCPInstance* StreamState::fRTCPInstance
private

Definition at line 224 of file OnDemandServerMediaSubsession.hh.

Referenced by rtcpInstance().

◆ fRTPgs

Groupsock* StreamState::fRTPgs
private

Definition at line 229 of file OnDemandServerMediaSubsession.hh.

◆ fRTPSink

RTPSink* StreamState::fRTPSink
private

Definition at line 219 of file OnDemandServerMediaSubsession.hh.

Referenced by rtpSink().

◆ fServerRTCPPort

Port StreamState::fServerRTCPPort
private

Definition at line 217 of file OnDemandServerMediaSubsession.hh.

Referenced by serverRTCPPort().

◆ fServerRTPPort

Port StreamState::fServerRTPPort
private

Definition at line 217 of file OnDemandServerMediaSubsession.hh.

Referenced by serverRTPPort().

◆ fStartNPT

float StreamState::fStartNPT
private

Definition at line 227 of file OnDemandServerMediaSubsession.hh.

Referenced by startNPT().

◆ fStreamDuration

float StreamState::fStreamDuration
private

Definition at line 222 of file OnDemandServerMediaSubsession.hh.

Referenced by streamDuration().

◆ fTotalBW

unsigned StreamState::fTotalBW
private

Definition at line 223 of file OnDemandServerMediaSubsession.hh.

◆ fUDPSink

BasicUDPSink* StreamState::fUDPSink
private

Definition at line 220 of file OnDemandServerMediaSubsession.hh.


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