OPAL
Version 3.12.9
|
#include <h281handler.h>
Public Types | |
enum | VideoSource { CurrentVideoSource = 0x00, MainCamera = 0x01, AuxiliaryCamera = 0x02, DocumentCamera = 0x03, AuxiliaryDocumentCamera = 0x04, VideoPlaybackSource = 0x05 } |
![]() | |
enum | { CMEClientID = 0x00, H281ClientID = 0x01, ExtendedClientID = 0x7e, NonStandardClientID = 0x7f } |
Protected Member Functions | |
PDECLARE_NOTIFIER (PTimer, OpalH281Handler, ContinueAction) | |
PDECLARE_NOTIFIER (PTimer, OpalH281Handler, StopActionLocally) | |
Protected Attributes | |
BYTE | localNumberOfPresets |
BYTE | remoteNumberOfPresets |
H281VideoSource | localVideoSources [6] |
H281VideoSource | remoteVideoSources [6] |
H281_Frame | transmitFrame |
PTimer | transmitTimer |
H281_Frame::PanDirection | requestedPanDirection |
H281_Frame::TiltDirection | requestedTiltDirection |
H281_Frame::ZoomDirection | requestedZoomDirection |
H281_Frame::FocusDirection | requestedFocusDirection |
PTimer | receiveTimer |
![]() | |
PBoolean | remoteClientAvailable |
PBoolean | remoteClientHasExtraCapabilities |
OpalH224Handler * | h224Handler |
This class implements a default H.281 handler
OpalH281Handler::OpalH281Handler | ( | ) |
OpalH281Handler::~OpalH281Handler | ( | ) |
void OpalH281Handler::ActivatePreset | ( | BYTE | presetNumber | ) |
Tells the remote side to activate the given preset
|
inlinevirtual |
Overriding default OpalH224Client methods
Implements OpalH224Client.
References OpalH224Client::H281ClientID.
|
inline |
References localNumberOfPresets.
H281VideoSource& OpalH281Handler::GetLocalVideoSource | ( | VideoSource | source | ) |
|
inline |
References remoteNumberOfPresets.
H281VideoSource& OpalH281Handler::GetRemoteVideoSource | ( | VideoSource | source | ) |
|
inlinevirtual |
Return whether this client has extra capabilities. Default returns FALSE.
Reimplemented from OpalH224Client.
|
virtual |
Indicates to activate the given preset number
|
virtual |
Process incoming frames. Overrides from OpalH224Client
Reimplemented from OpalH224Client.
|
virtual |
Called if a PDU for this client was received. Default does nothing.
Reimplemented from OpalH224Client.
|
virtual |
Called each time a remote endpoint sends its capability list
|
virtual |
Indicates to select the desired video source
|
virtual |
Indicates to start the action specified
|
virtual |
Indicates to stop the action stared with OnStartAction()
|
virtual |
Indicates to store the current camera settings as a preset
|
protected |
|
protected |
void OpalH281Handler::SelectVideoSource | ( | BYTE | videoSourceNumber, |
H281_Frame::VideoMode | videoMode | ||
) |
Tells the remote side to select the desired video source using the mode specified. Does nothing if either video source or mode aren't available
|
virtual |
Causes the H.281 handler to send its capabilities. Capabilities include the number of available cameras, (default one) the camera abilities (default none) and the number of presets that can be stored (default zero)
Reimplemented from OpalH224Client.
|
inline |
References localNumberOfPresets.
void OpalH281Handler::StartAction | ( | H281_Frame::PanDirection | panDirection, |
H281_Frame::TiltDirection | tiltDirection, | ||
H281_Frame::ZoomDirection | zoomDireciton, | ||
H281_Frame::FocusDirection | focusDirection | ||
) |
Causes the H.281 handler to start the desired action The action will continue until StopAction() is called.
void OpalH281Handler::StopAction | ( | ) |
Stops any action currently ongoing
void OpalH281Handler::StoreAsPreset | ( | BYTE | presetNumber | ) |
Tells the remote side to store the current camera settings as a preset with the preset number given
|
protected |
Referenced by GetLocalNumberOfPresets(), and SetLocalNumberOfPresets().
|
protected |
|
protected |
|
protected |
Referenced by GetRemoteNumberOfPresets().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |