Valkka
1.6.1
OpenSource Video Management
|
Connection is is defined in an SDP file. More...
#include <livethread.h>
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 | |
StreamClientState * | scs |
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 | |
LiveConnectionContext & | ctx |
LiveConnectionContext identifying the stream source (address), it's destination (slot and target framefilter), etc. | |
FrameFilter * | timestampfilter |
FrameFilter * | inputfilter |
FrameFilter * | repeat_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. | |
Connection is is defined in an SDP file.
SDPConnection::SDPConnection | ( | UsageEnvironment & | env, |
LiveConnectionContext & | ctx | ||
) |
Default constructor.
env | See Connection::env |
ctx | See Connection::ctx |