In-App Video Recording + Video Sharing Plugin (Android & iOS) for Solar2d Game Engine

In-App Video Recording + Video Sharing Plugin (Android & iOS) for Solar2d Game Engine.

https://github.com/solar2d/com.labolado-plugin.screenRecorder

How to use:
Add following to your build.settings:

{
    plugins = {
        ["plugin.screenRecorder"] = {
            publisherId = "com.labolado"
        }
    },
}

Usage:

local SR = require("plugin.screenRecorder")

local function onStart(e)
    if e.isError then
        print(e.errorMessage)
    else
        -- do something
    end
end
-- to start recording screen
SR.start(onStart)

-- ...
-- to stop recording screen
SR.stop()
5 Likes

Great! Adding this straight to awesome-solar2d list.

Amazing, nice work!
Thank you so much.

The plugin has been moved to https://github.com/solar2d/com.labolado-plugin.screenRecorder .

@bgmadclown

1 Like

Updated! Thank you for letting me know.