rtspserver
Class OpPlay


class OpPlay
derived from Operator

Handles PLAY method. Handles messages any range specification. If no range is found, the default range is beginning to end of audio file. If session is already paused, event will resume playing at the pause point or at new range. Play requests can be queued. Rtp streaming is started by adding rtsp session object into RtspRtpProcessor.


Constructor Summary
OpPlay()
           

Destructor Summary
 virtual ~OpPlay()
           

Method Summary
 const const char * constname()
           
 virtual const Sptrprocess(const Sptr event)
          starts a new play request or queues a play request if one exists already
 static voidprocessPendingEvent(const Sptr event)
          called when processing next PLAY request

Constructor Detail

OpPlay

public OpPlay()
Method Detail

~OpPlay

public virtual ~OpPlay()
Method Detail

name

public const const char * const name()

process

public virtual const Sptr process(const Sptr event)
starts a new play request or queues a play request if one exists already

processPendingEvent

public static void processPendingEvent(const Sptr event)
called when processing next PLAY request