Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Public Attributes | List of all members
LiveConnectionContext Struct Reference

Identifies a stream and encapsulates information about the type of connection the user is requesting to LiveThread. More...

#include <livethread.h>

Collaboration diagram for LiveConnectionContext:
Collaboration graph
[legend]

Public Member Functions

 LiveConnectionContext (LiveConnectionType ct, std::string address, SlotNumber slot, FrameFilter *framefilter)
 Default constructor.
 
 LiveConnectionContext ()
 Dummy constructor : remember to set member values by hand.
 

Public Attributes

LiveConnectionType connection_type
 Identifies the connection type // <pyapi>
 
std::string address
 Stream address // <pyapi>
 
SlotNumber slot
 A unique stream slot that identifies this stream // <pyapi>
 
FrameFilterframefilter
 The frames are feeded into this FrameFilter // <pyapi>
 
long unsigned int msreconnect
 If stream has delivered nothing during this many milliseconds, reconnect // <pyapi>
 
bool request_multicast
 Request multicast in the rtsp negotiation or not // <pyapi>
 
bool request_tcp
 Request interleaved rtsp streaming or not // <pyapi>
 
unsigned recv_buffer_size
 Operating system ringbuffer size for incoming socket // <pyapi>
 
unsigned reordering_time
 Live555 packet reordering treshold time (microsecs) // <pyapi>
 
TimeCorrectionType time_correction
 How to perform frame timestamp correction // <pyapi>
 

Detailed Description

Identifies a stream and encapsulates information about the type of connection the user is requesting to LiveThread.

LiveConnectionContext is also included in LiveThread::SignalContext, i.e. it carries the signal information to LiveThread (for the thread signaling system, see multithreading).

(A side note: this class is not nested inside the LiveThread class for one simple reason: swig does not like nested classes, so it would make it harder to create Python bindings)

Information in LiveConnectionContext is further passed by LiveThread to RTSPConnection and SDPConnection

Comes with two different versions of the constructor. First is for primary use and the second is a "dummy" constructor.


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