How to Stream GLSurfaceView Output from FaceUnity Using RootEncoder?
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- audio-video-rtc, mobile-dev
Research direction
The payload names FaceUnity's CameraRenderer, BaseFURenderer, ICameraRenderer, OnGlRendererListener (onRenderAfter) and FUCameraConfig, all in the FULiveDemoDroid sample, and the GLSurfaceView they render into. It does not name any RootEncoder source file or API for accepting frames. The work is to decide how processed GL frames reach RootEncoder's video input, which needs OpenGL and encoder knowledge. Done would be a design answer or example code from a maintainer, not a small patch.
Written by the indexing model from the issue text.
Description
Hello,
I am using the RootEncoder library to stream content, typically from the phone's camera. Now, I need to apply some filters and effects, so I am integrating FaceUnity (FULiveDemoDroid).
FaceUnity renders using android.opengl.GLSurfaceView, and I would like to use this GLSurfaceView output for streaming with RootEncoder.
Implementation Details:
FaceUnity has a CameraRenderer class that extends BaseFURenderer and implements ICameraRenderer.
CameraRenderer uses a GLSurfaceView for rendering camera input with effects.
The camera is configured using FUCameraConfig, which sets properties like resolution, frame rate, and camera type.
The rendering process is managed by OnGlRendererListener, which provides callbacks such as onRenderBefore (for raw input data) and onRenderAfter (for processed data).
My Goal:
I want to take the output from GLSurfaceView (after FaceUnity has processed the camera feed) and stream it using RootEncoder.
Question:
- How can I access the processed frame data from FaceUnity's GLSurfaceView?
- What is the best way to pass this data to RootEncoder for streaming?
Any guidance or sample code would be greatly appreciated!
Thank you.
- Dominant language
- Kotlin
- Stars
- 3k
- Forks
- 946
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 9
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pedroSG94/RootEncoder
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
pedroSG94/RootEncoder#2213 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
pedroSG94/RootEncoder#2207 · 1 reaction ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pedroSG94/RootEncoder#2203 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
pedroSG94/RootEncoder#2192 · 2 comments ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pedroSG94/RootEncoder#2177 · 44 comments ·
Maintainers usually reply within 2 days
All issues in pedroSG94/RootEncoder
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
damontecres/Wholphin#2069 ·
Maintainers usually reply within 1 day
-
Android (vision-camera-location): HybridLocationManager never quits its HandlerThread on disposeOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
margelo/react-native-vision-camera#4217 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
saisaharsh3/Leftovers#13 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 67/100
navikt/esyfo-narmesteleder#700 ·
Maintainers usually reply within 1 day
-
[DEV] Update ktlintOpenbackend maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
digitalfabrik/entitlementcard#3183 ·
Maintainers usually reply within 7 days