Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move GUI to separate module #15

Open
Kagami opened this issue Jul 30, 2018 · 4 comments
Open

Move GUI to separate module #15

Kagami opened this issue Jul 30, 2018 · 4 comments

Comments

@Kagami
Copy link
Owner

Kagami commented Jul 30, 2018

A lot of users suggest this, so better move it out and document GUI-less API properly.

@thijstriemstra
Copy link

thijstriemstra commented Nov 19, 2018

+1, any news on this @Kagami?

ps. want to use this in videojs-record: collab-project/videojs-record#287

@Kagami
Copy link
Owner Author

Kagami commented Nov 20, 2018

Currently no.

@dradovic
Copy link

dradovic commented Jun 26, 2019

IMHO, it should be mentioned in the README that vmsg can also be used without displaying any UI (although it's shipped with it). I only randomly discovered this when studying the vmsg.js.

Example:

<script type="module">
    import {
        Recorder
    } from "/lib/vmsg/vmsg.js";
    window.startRecording = async function () {
        if (!window.recorder) {
            window.recorder = new Recorder({
                wasmURL: "/lib/vmsg/vmsg.wasm"
            });
            await window.recorder.init();
        }
        window.recorder.startRecording();
    }
    window.stopRecording = async function () {
        await window.recorder.stopRecording();
        return window.recorder.blobURL;
    }
</script>

@Kagami
Copy link
Owner Author

Kagami commented Jun 26, 2019

There is example with custom UI in readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants