Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Private Attributes | List of all members
SDPConnection Class Reference

Connection is is defined in an SDP file. More...

#include <livethread.h>

Inheritance diagram for SDPConnection:
Inheritance graph
[legend]
Collaboration diagram for SDPConnection:
Collaboration graph
[legend]

Public Member Functions

 SDPConnection (UsageEnvironment &env, LiveConnectionContext &ctx)
 Default constructor. More...
 
 ~SDPConnection ()
 Default destructor.
 
void playStream ()
 Creates Live555 MediaSessions, MediaSinks, etc. instances and registers them directly to the Live555 event loop.
 
void stopStream (bool cut=true)
 Closes Live555 MediaSessions, MediaSinks, etc.
 
- Public Member Functions inherited from Connection
 Connection (UsageEnvironment &env, LiveConnectionContext &ctx)
 Default constructor. More...
 
virtual ~Connection ()
 Default destructor.
 
virtual void reStartStream ()
 Called from within the live555 event loop.
 
virtual void reStartStreamIf ()
 Called from within the live555 event loop.
 
virtual bool isClosed ()
 Have the streams resources been reclaimed after stopping it?
 
virtual void forceClose ()
 Normally, stopStream reclaims the resources. This one forces the delete.
 
SlotNumber getSlot ()
 Return the slot number.
 

Private Attributes

StreamClientStatescs
 
bool passthrough
 

Additional Inherited Members

- Public Attributes inherited from Connection
UsageEnvironment & env
 UsageEnvironment identifying the Live555 event loop (see Live555 primer)
 
bool is_playing
 
- Protected Attributes inherited from Connection
LiveConnectionContextctx
 LiveConnectionContext identifying the stream source (address), it's destination (slot and target framefilter), etc.
 
FrameFiltertimestampfilter
 
FrameFilterinputfilter
 
FrameFilterrepeat_sps_filter
 Repeat sps & pps packets before i-frame (if they were not there before the i-frame)
 
long int frametimer
 Measures time when the last frame was received.
 
long int pendingtimer
 Measures how long stream has been pending.
 

Detailed Description

Connection is is defined in an SDP file.

Constructor & Destructor Documentation

◆ SDPConnection()

SDPConnection::SDPConnection ( UsageEnvironment &  env,
LiveConnectionContext ctx 
)

Default constructor.

Parameters
envSee Connection::env
ctxSee Connection::ctx

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