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

The support of screen sharing #92

Open
daniel-abramov opened this issue Jun 19, 2023 · 2 comments
Open

The support of screen sharing #92

daniel-abramov opened this issue Jun 19, 2023 · 2 comments

Comments

@daniel-abramov
Copy link
Contributor

Really glad that LiveKit uses Rust, this opens so many possibilities! 🙂 Having an excellent and easy-to-use library for real-time communication is really cool!

I've shortly gone through the example code and published tracks to see if there is a simple and straightforward way to add screen-sharing (something as easy to use as in the JS/TS SDK). From what I've understood so far, it seems like currently the only way to have screen sharing is to capture the frames in the user code and then convert them to YUV with one of the helpers, then pass it to the capture_frame which will encode the shelf and send it down the line to the RTP engine, etc.

I.e. is my understanding correct that at the moment there is no simple way to e.g. use the screen capturing engine from libwebrtc, so the user is expected to capture the frames by other means and supply them to the tracks?

@theomonnom
Copy link
Member

theomonnom commented Jun 20, 2023

Hey, you're correct, at the moment there is no simple way to do screenshares.
But exposing the native libwebrtc capture engine is planned (as well as microphones and webcams).
EDIT: Just started working on it here

@fuyoo
Copy link

fuyoo commented Dec 8, 2023

公开原生 libwebrtc 捕获引擎目前有什么最新的进度吗?

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