![]() |
Plasma Engine
2.0
|
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< plXRRemotingConnectionState > | GetConnectionState () const =0 |
Get the current connection state to the remote device. | |
virtual plXRRemotingConnectionEvent & | GetConnectionEvent ()=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. | |
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.