|
Valkka
0.17.0
OpenSource Video Management
|
Class to hold per-stream state that we maintain throughout each stream's lifetime. More...
#include <live.h>
Public Member Functions | |
| StreamClientState () | |
| Default constructor. | |
| virtual | ~StreamClientState () |
| Default virtual destructor. Calls Medium::close on the MediaSession object. | |
| void | close () |
| Calls Medium::close on the MediaSubsession objects and their sinks. | |
| void | setFrame () |
| void | clearFrame () |
| bool | gotFrame () |
Public Attributes | |
| MediaSubsessionIterator * | iter |
| Created by RTSPClient or SDPClient. Deleted by StreamClientState::~StreamClientState. | |
| int | subsession_index |
| Managed by RTSPClient or SDPClient. | |
| MediaSession * | session |
| Created by RTSPClient or SDPClient. Closed by StreamClientState::~StreamClientState. | |
| MediaSubsession * | subsession |
| Created by RTSPClient or SDPClient. Closed by StreamClientState::close. | |
| TaskToken | streamTimerTask |
| TaskToken | pingGetParameterTask |
| Ping the camera periodically with GET_PARAMETER query. | |
| double | duration |
| bool | frame_flag |
| Set always when a frame is received. | |
Class to hold per-stream state that we maintain throughout each stream's lifetime.
An instance of this class is included in the ValkkaRTSPClient and used in the response handlers / callback chain.
This is a bit cumbersome .. Some of the members are created/managed by the ValkkaRTSPClient instance. When ValkkaRTSPClient destructs itself (by calling Medium::close on its sinks and MediaSession) in the response-handler callback chain, we need to know that in LiveThread.
1.8.13