What is "BeginRecording"?

About a year or two ago I found this function:

It has no description or anything. What is it?

1 Like

Its a function that detects when someone is recording their screen in a Roblox game or not.

1 Like

Why would it be in SoundService then?

Because when you’re recording your screen in the game, you’re recording the Sounds in the game too, thus making sense that it would fall under SoundService.

2 Likes

I thought this too. Why would it be called “begin recording” though?

1 Like

Its a function that detects when you BEGIN Recording your screen.

2 Likes

Okay. I always thought it was for voice chat.

Nope. If it was for Voice Chat, it would most likely be listed under the Spatial Voice Chat API.

2 Likes

I think you have it mixed up. Functions are called, events are the things that fire things (and this is a function, not an event).

I believe this function is something used internally, because not even the command bar can access it. That would make sense, because internally used functions typically don’t have any description.

2 Likes

Honestly that is dumb because you could make a really inappropriate game and if recording, you could remove the inappropriate stuff, which would make reporting harder.

1 Like

It says on the API page he linked that its a function.

1 Like

Yes, I know. Functions don’t typically detect things, that’s what most events do.

Also, we don’t really know what it does since you can’t call it. You’d have to go digging in the API for that, most likely.

2 Likes

I have unmarked the solution because of this:

Ah I see, now. I THINK it says that because BeginRecording is a function in the uneditable part of the CoreGUI, which you can’t edit or disable, which is why the output displays lack of permissions.

1 Like

Okay so what is it actually for then?

It’s used for voice chat:
image

2 Likes

I thought so too! Does it actually recognize what they say?

Yes, it does actually, it has a voice to text system:
image

1 Like

So why isn’t this available to developers (or at least with a consent popup?)

I also have an older screenshot of this, back from almost a year ago:

image

Why did they decide to change it to blank? Also again why would it be a bool?