livekit / client-sdk-android

LiveKit SDK for Android
https://docs.livekit.io
Apache License 2.0
160 stars 63 forks source link

Convert canvas to VideoFrame #376

Closed safeer-ahmed closed 4 months ago

safeer-ahmed commented 4 months ago

The VideoFrame can be instantiated using a canvas in the Javascript SDK. How can the same be done in Android?

In Android, to create a VideoFrame we need to provide a buffer. Do we have any work around to convert the canvas to a buffer?