25class DtChannelManager;
98 virtual void tick(
double dt)
override;
106 virtual const char*
type()
const override;
131 virtual void selectVideoSource(
const std::string& guiText,
const std::string& window,
const std::string& channel);
169 virtual bool channelExists(
const std::string& windowName,
const std::string& channelName);
std::string myStreamOutputFilenameOverride
Optional override for the stream output filename.
Definition streamingVideoUpdater.h:199
virtual void slot_channelAdded(makVrv::DtChannelManager *mgr, makVrv::DtChannel *channel)
Slot called when a channel is added to the system.
virtual void toggleVideoStream()
Toggles the video stream on or off.
virtual void selectVideoSource(const std::string &guiText, const std::string &window, const std::string &channel)
Selects a new video source for streaming.
virtual makVre::DtVreMessageResult handleScreenCapture(makVre::DtVreMessage *msg)
Handles screen capture messages.
std::string myReadBuffer
Buffer type to read for streaming (back, front, back_hardware, front_hardware)
Definition streamingVideoUpdater.h:191
virtual void tick(double dt) override
Called every frame to update the streaming state.
virtual makVre::DtVreMessageResult handleSelectVideoStreamChannel(makVre::DtVreMessage *msg)
Handles video source selection messages.
bool myRetryAutoStart
Flag indicating to retry auto-starting the stream on the next tick.
Definition streamingVideoUpdater.h:202
virtual bool channelExists(const std::string &windowName, const std::string &channelName)
Checks if a specified channel exists.
virtual void shutdown() override
Shuts down the streaming video updater component.
virtual void stopVideoStream()
Stops the active video stream.
DtStreamingVideoUpdater()
Constructor for DtStreamingVideoUpdater.
virtual void startVideoStream()
Starts the configured video stream.
virtual void updateStreamFilename(makVrv::DtVideoStream *stream)
Updates the output filename for a video stream.
std::string myStreamName
Name of the video stream configuration to use.
Definition streamingVideoUpdater.h:186
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the streaming video updater component.
virtual makVre::DtVreMessageResult handleToggleVideoStream(makVre::DtVreMessage *msg)
Handles toggle video stream messages.
bool myAutoStartStream
Flag indicating whether to automatically start streaming when the channel appears.
Definition streamingVideoUpdater.h:194
virtual ~DtStreamingVideoUpdater() override
Virtual destructor for DtStreamingVideoUpdater.
virtual void slot_channelToBeRemoved(makVrv::DtChannelManager *mgr, makVrv::DtChannel *channel)
Slot called when a channel is about to be removed.
virtual const char * type() const override
Returns the type identifier for this component.
Table-based access to Lua state for configuration data.
Definition initializer.h:38
Base class for all role components in VR-Engage.
Definition playerComponent.h:78
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
constexpr const char * streamName
Definition streamingVideoUpdater.h:52
constexpr const char * defaultStreamChannel
Definition streamingVideoUpdater.h:40
constexpr const char * readBuffer
Definition streamingVideoUpdater.h:49
constexpr const char * defaultStreamLabel
Definition streamingVideoUpdater.h:43
constexpr const char * streamOutputFilenameOverride
Definition streamingVideoUpdater.h:55
constexpr const char * defaultStreamWindow
Definition streamingVideoUpdater.h:46
constexpr const char * videoStreamAutoStart
Definition streamingVideoUpdater.h:58
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Definition streamingVideoUpdater.h:32
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Definition appLauncherComponent.h:28
Defines the DtPlayerComponent base class for VR-Engage role components.
constexpr const char * DtStreamingVideoUpdaterType
Type identifier for DtStreamingVideoUpdater component.
Definition streamingVideoUpdater.h:65
Defines the base class for all VREngage messages.