I am using the StartScreenRecording(filename, 1)/StopScreenRecording()
It worked the first time but not longer works no matter what i do (reboot, etc). I have tried this with broadcasting and via an .apk file
1. I start the app.
2. After that it asks me "App will start capturing everything on screen" and i tap START NOW
3. I tap on the screen to stop recording and nothing appears in my picture app (Which is where it appeared the first time)
Here is the code;
// Collision groups
//
// The red and green balls will collide with all other objects
// but not with each other
//
SetWindowSize(1024, 768, 0)
setVirtualResolution(GetWindowWidth() * .5, GetWindowHeight() * .5)
SetErrorMode(2)
SetVSync(1)
#constant VW GetVirtualWidth()
#constant VH GetVirtualHeight()
StartScreenRecording("video1.mp4", 1)
do
if GetPointerPressed()
StopScreenRecording()
endif
if IsScreenRecording()
print("Recording screen")
else
print("Not recording screen")
endif
sync()
loop
It would be great if i could get someone to confirm this. It works first time and then nothing is saved