Plasma Engine  2.0
Loading...
Searching...
No Matches
plXRRemotingInterface Class Referenceabstract

XR Remoting singleton interface. Allows for streaming the XR application to a remote device. More...

#include <XRRemotingInterface.h>

Public Member Functions

virtual plResult Initialize ()=0
 Initializes the XR Remoting system. Needs to be done before plXRInterface is initialized.
 
virtual plResult Deinitialize ()=0
 Shuts down XR Remoting. This will fail if XR actors still exists or if plXRInterface is still initialized.
 
virtual bool IsInitialized () const =0
 Returns whether XR Remoting is initialized.
 
Connection Functions
virtual plResult Connect (const char *szRemoteHostName, uint16_t remotePort=8265, bool bEnableAudio=true, int iMaxBitrateKbps=20000)=0
 Tries to connect to the remote device.
 
virtual plResult Disconnect ()=0
 Disconnects from the remote device.
 
virtual plEnum< plXRRemotingConnectionStateGetConnectionState () const =0
 Get the current connection state to the remote device.
 
virtual plXRRemotingConnectionEventGetConnectionEvent ()=0
 Returns the connection event to subscribe to connection changes.
 

Static Public Attributes

static plCVarBool cvar_XrRemoting
 Enable XR Remoting if available.
 
static plCVarString cvar_XrRemotingHostName
 Hostname to connect to for XR Remoting.
 

Detailed Description

XR Remoting singleton interface. Allows for streaming the XR application to a remote device.

Needs to be initialized before plXRInterface to be able to use remoting.


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