Roblox VideoDeviceInputs - How to use them?

Hello.

I am currently trying to get a new instance that I have found on Roblox working: VideoDeviceInputs. I have found by reading the documentation (available here), that the instance may be used to record the players screen. However, Roblox and their infinite wisdom have made it very difficult to use the instance. These are the problems I am running into.

  1. The instance requires CoreScript permissions in order to even instantize. Attempting to create the instance without CoreScript perms raises an error:

This can be mitigated by executing its creation in a CommandBar with ElevatedStudio perms.
image

However we still run into several problems:

  1. VideoDeviceInput does not replicate by default.
  2. Attempting to :Clone(), :SerializeInstancesAsync() or :SerializeInstances() the instance will fail.
  3. Publishing the instance either as a package or to Roblox fails.
  4. The instances cease to exist after a playtest or if you restart your studio session.

How am I going to get VideoDeviceInputs to stay serialized? (I have tried the methods above to no avail)

Help very much appreciated.

2 Likes

I suppose there will be an annoucement once they release it fully. Why bother having it if it’s so troublesome keeping it?

this is probably not an instance we’re going to have access to as it was added back in update 616 Mar 2024 and hasn’t received any updates since. It is probably an instance meant to help with the facial expression feature for internal scripts. Either way the instance only has four properties and no methods so it’s pretty uselss for the regular user.

That documentation suggests this instance handles capturing video input from the user’s camera, not their screen which explains why this is locked behind CoreGui because it would be recording things like the player’s webcam.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.