#include <h281handler.h>
OpalH281Handler::OpalH281Handler | ( | OpalH224Handler & | h224Handler | ) |
OpalH281Handler::~OpalH281Handler | ( | ) |
BOOL OpalH281Handler::GetRemoteHasH281 | ( | ) | const [inline] |
void OpalH281Handler::SetRemoteHasH281 | ( | BOOL | flag | ) | [inline] |
BYTE OpalH281Handler::GetLocalNumberOfPresets | ( | ) | const [inline] |
void OpalH281Handler::SetLocalNumberOfPresets | ( | BYTE | presets | ) | [inline] |
BYTE OpalH281Handler::GetRemoteNumberOfPresets | ( | ) | const [inline] |
H281VideoSource& OpalH281Handler::GetLocalVideoSource | ( | VideoSource | source | ) |
H281VideoSource& OpalH281Handler::GetRemoteVideoSource | ( | VideoSource | source | ) |
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::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
void OpalH281Handler::StoreAsPreset | ( | BYTE | presetNumber | ) |
Tells the remote side to store the current camera settings as a preset with the preset number given
void OpalH281Handler::ActivatePreset | ( | BYTE | presetNumber | ) |
Tells the remote side to activate the given preset
void OpalH281Handler::SendExtraCapabilities | ( | ) | const |
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)
void OpalH281Handler::OnReceivedExtraCapabilities | ( | const BYTE * | capabilities, | |
PINDEX | size | |||
) |
Processing incoming frames
void OpalH281Handler::OnReceivedMessage | ( | const H281_Frame & | message | ) |
virtual void OpalH281Handler::OnRemoteCapabilitiesUpdated | ( | ) | [virtual] |
Called each time a remote endpoint sends its capability list
virtual void OpalH281Handler::OnStartAction | ( | H281_Frame::PanDirection | panDirection, | |
H281_Frame::TiltDirection | tiltDirection, | |||
H281_Frame::ZoomDirection | zoomDirection, | |||
H281_Frame::FocusDirection | focusDirection | |||
) | [virtual] |
Indicates to start the action specified
virtual void OpalH281Handler::OnStopAction | ( | ) | [virtual] |
Indicates to stop the action stared with OnStartAction()
virtual void OpalH281Handler::OnSelectVideoSource | ( | BYTE | videoSourceNumber, | |
H281_Frame::VideoMode | videoMode | |||
) | [virtual] |
Indicates to select the desired video source
virtual void OpalH281Handler::OnStoreAsPreset | ( | BYTE | presetNumber | ) | [virtual] |
Indicates to store the current camera settings as a preset
virtual void OpalH281Handler::OnActivatePreset | ( | BYTE | presetNumber | ) | [virtual] |
Indicates to activate the given preset number
OpalH281Handler::PDECLARE_NOTIFIER | ( | PTimer | , | |
OpalH281Handler | , | |||
ContinueAction | ||||
) | [protected] |
OpalH281Handler::PDECLARE_NOTIFIER | ( | PTimer | , | |
OpalH281Handler | , | |||
StopActionLocally | ||||
) | [protected] |
OpalH224Handler& OpalH281Handler::h224Handler [protected] |
BOOL OpalH281Handler::remoteHasH281 [protected] |
BYTE OpalH281Handler::localNumberOfPresets [protected] |
BYTE OpalH281Handler::remoteNumberOfPresets [protected] |
H281VideoSource OpalH281Handler::localVideoSources[6] [protected] |
H281VideoSource OpalH281Handler::remoteVideoSources[6] [protected] |
H281_Frame OpalH281Handler::transmitFrame [protected] |
PTimer OpalH281Handler::transmitTimer [protected] |
PTimer OpalH281Handler::receiveTimer [protected] |