Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cAVControl Class Referenceabstract

#include <cAVSink.h>

Inheritance diagram for GrayLib::cAVControl:
GrayLib::cAVControlOut

Public Types

enum  CTL_TYPE {
  CTL_UNK = 0 , CTL_Source , CTL_Channel , CTL_Quality ,
  CTL_Stop , CTL_Seek , CTL_Position , CTL_Mouse ,
  CTL_Keys , CTL_QTY
}
 

Public Member Functions

virtual ~cAVControl ()
 
virtual HRESULT OnControl (CTL_TYPE eType, const void *pData=nullptr, size_t nSizeData=0)=0
 

Detailed Description

The other side of a stream may attempt to control it. (if allowed or applicable)

Member Enumeration Documentation

◆ CTL_TYPE

Control messages. Feedback from the receiver of the stream.

Enumerator
CTL_UNK 
CTL_Source 

0x01 = request alternate video Source. "{ #stream (0=all), 'source string' }"

CTL_Channel 

0x02 = request alternate video Channel. "{ #stream (0=all), channel # }"

CTL_Quality 

0x03 = request a AV_QUALITY_t level change on a stream (or all streams). "{ #stream (0=all), k_AV_QUALITY_0 = nothing }". expect new Header.

CTL_Stop 

0x04 = send control messages to the AV source. "{ 0=Stop, 1=Start, 2=Pause, 3=Unpause. }"

CTL_Seek 

0x05 = attempt to time seek on the AV stream if possible. "{ #mSec }"

CTL_Position 

0x06 = my view/listen position has changed. (for 3d audio mixing, if applicable)

CTL_Mouse 

0x07 = send input messages back to the AV source. Mouse position. "{ x, y }"

CTL_Keys 

0x08 = send input messages back to the AV source. keyboard or mouse buttons. "{ key code, 0/1 up/down }"

CTL_QTY 

Constructor & Destructor Documentation

◆ ~cAVControl()

virtual GrayLib::cAVControl::~cAVControl ( )
inlinevirtual

Member Function Documentation

◆ OnControl()

virtual HRESULT GrayLib::cAVControl::OnControl ( CTL_TYPE  eType,
const void *  pData = nullptr,
size_t  nSizeData = 0 
)
pure virtual

Implemented in GrayLib::cAVControlOut.


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