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

error when trying to record the sceneView #316

Closed
federico-amura-kenility opened this issue Sep 7, 2023 · 3 comments
Closed

error when trying to record the sceneView #316

federico-amura-kenility opened this issue Sep 7, 2023 · 3 comments
Labels

Comments

@federico-amura-kenility
Copy link

im trying to record the scene view. But im getting a crash without any logs. The app its just crashing and closing.

        val recorder = MediaRecorder().apply {
            setVideoSource(MediaRecorder.VideoSource.SURFACE)
            setOutputFormat(MediaRecorder.OutputFormat.MPEG_4)
            setOutputFile(outputFile)
            setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT)
            setVideoSize(scene.width, scene.height)
            prepare()
        }

        recorder.start()

        try {
            scene.startMirroring(recorder.surface)
            Log.d("[test]", "recording started")
        } catch (e: Exception) {
            Log.d("[test]", "error stating recording $e")
        }
@sameerjj
Copy link
Contributor

sameerjj commented Dec 2, 2023

I have the same issue, we can fix with #364

Copy link

github-actions bot commented Mar 1, 2024

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Mar 1, 2024
Copy link

github-actions bot commented Mar 9, 2024

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@github-actions github-actions bot closed this as completed Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants