-
Notifications
You must be signed in to change notification settings - Fork 81
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
Support Screen capture #24
Conversation
Working example flutter-webrtc: |
- Windows Capture: CreateWindowCapturer()
hey @dkubrakov, that‘s awesome
I tested this branch and it works, we need to return the thumbnail in Source, the underlying processing should be after getting the source list, applying to get a frame RTCVideoFrame for each source, and then get to the thumbnail. I'm implementing DesktopCapture for macOS on another branch, https://github.com/webrtc-sdk/webrtc/blob/feat/support-screen-capture-for-mac/sdk/objc/components/capturer/RTCDesktopCapturer.h I think we can synchronize and keep consistency at the dart level, and complete this feature. |
At the moment, that's all. https://github.com/dkubrakov/webrtc-interface/blob/feat/desktop-cpaturer/lib/src/desktop_capturer.dart |
# Conflicts: # src/rtc_peerconnection_factory_impl.cc
Updated the release of screen capture, taking into account the upgrade to m97.
https://github.com/dkubrakov/libwebrtc/tree/feat/screen-capture |
@dkubrakov great work, I think we can merge after syncing both PRs, here I have some new changes. 1, I moved here is the PR for macOS. So we need to merge these two files. 2, I implemented full screen/window capture in macOS and supports thumbnail export, so I think you can refer to this code to generate thumbnails for windows part. (use libjpeg) https://github.com/webrtc-sdk/webrtc/pull/24/files I refer to electron and chromium to implement the objc_desktop_capture.h BTW, If you need more timely discussion, you can add my Telegram ID. https://t.me/cloudwebrtc |
Hello, @cloudwebrtc! Fixed 1'st remark, also renamed to I did the thumbnail generation at the plugin level. This is much less expensive than implementing the Can we use it like this? |
hey @dkubrakov, looks great, can you create a new PR for flutter-webrtc? I think we will be able to merge soon
At present, it is indeed possible to make consistent calls between windows and mac. My intention to create thumbnails with I have committed the relevant common code to this branch would you mind merging this code into your branch to continue working on your PR? I guess this can reduce some workload. |
Or you can create a flutter-webrtc PR first, I will merge it after the test is ok They also include this PR, then I will replace the libwebrtc part of the code with my PR, it will be a perfect feature for us to work together. |
of course, it is here ) |
No description provided.