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

How to read audio destination in @revideo/player into MediaRecord? #298

Open
tangshuang opened this issue Sep 23, 2024 · 1 comment
Open

Comments

@tangshuang
Copy link

I am now using @revideo/player to provide a video previewer for the users.
I want the user be able to download the video, currently I use MediaRecorder to record from canvas and use ffmpeg.wasm to merge mp3 and mp4, but because of #290 , the sound and vision are not sync, sound is always quicker.

My thought is to record audio from @revideo/player directly, however after review and seek from source code, I try to use MediaRecord to record from <revideo-player>.player.audio.context but not success, and could not find how the audioContext plays the audio.
Could you help?

@justusmattern27
Copy link
Member

@tangshuang full client-side video exports are not supported right now - the supported way to render is on the server with renderVideo: https://docs.re.video/api/renderer/renderVideo/

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

2 participants