Skip to content

Remote Play

Functions that provide information about Steam Remote Play sessions, streaming your game content to another computer or to a Steam Link app or hardware. See Steam Remote Play for more information.

Only available in the main GodotSteam branches

Functions

getSessionClientFormFactor

getSessionClientFormFactor( uint32 session_id )

Get the form factor of the session client device.

Returns: int


Read more in the official Steamworks SDK documentation

getSessionClientName

getSessionClientName( uint64_t session_id )

Get the name of the session client device.

Returns: string


Read more in the official Steamworks SDK documentation

getSessionClientResolution

getSessionClientResolution( uint32 session_id )

Get the resolution, in pixels, of the session client device. This is set to 0x0 if the resolution is not available.

Returns: dictionary

Contains the following keys:

  • success (bool)
  • x (int)
  • y (int)

Read more in the official Steamworks SDK documentation

getSessionCount

getSessionCount()

Get the number of currently connected Steam Remote Play sessions.

Returns: uint32


Read more in the official Steamworks SDK documentation

getSessionID

getSessionID( uint32 index )

Get the currently connected Steam Remote Play session ID at the specified index.

Returns: uint32


Read more in the official Steamworks SDK documentation

getSessionSteamID

getSessionSteamID( uint32 session_id )

Get the Steam ID of the connected user.

Returns: uint64_t


Read more in the official Steamworks SDK documentation

sendRemotePlayTogetherInvite

sendRemotePlayTogetherInvite( uint64_t friend_id )

Invite a friend to join the game using Remote Play Together.

Returns: bool


Read more in the official Steamworks SDK documentation

startRemotePlayTogether

startRemotePlayTogether( bool show_overlay )

Start Remote Play Together and optionally show the UI in the overlay. This returns false if Remote Play Together can't be started or your game is not configured for Remote Play Together.

Returns: bool

Signals

These callbacks require you to run Steam.run_callbacks() in your _process() function to receive them.

remote_play_session_connected

remote_play_session_connected

Called when a player connects to a remote play session.

Returns:

  • session_id (uint32)

Read more in the official Steamworks SDK documentation

remote_play_session_disconnected

remote_play_session_disconnected

Called when a player disconnects from a remote play session.

Returns:

  • session_id (uint32)

Read more in the official Steamworks SDK documentation