shepeliev / webrtc-kmp

WebRTC Kotlin Multiplatform SDK
Apache License 2.0
191 stars 38 forks source link

ScreenCapture on Android / iOS #106

Open tamimattafi opened 8 months ago

tamimattafi commented 8 months ago

Hello! Thank you for this awesome library!

Are there any plans on supporting ScreenCapture on iOS and Android?

shepeliev commented 7 months ago

Hello, I've just merged #105 for Android. And yes, there are plans to support screen capturing on iOS. However, no any estimates.

tamimattafi commented 7 months ago

@shepeliev Thank you! For the iOS side, maybe if you can point out where to dig and share your plans, someone from my team or the community can make a contribution

YoussefHachicha commented 1 month ago

@tamimattafi Have you been able to establish peer connections between two users using this library? Could you share a sample? The documentation provided by this library isn't very helpful.

tamimattafi commented 1 month ago

@YoussefHachicha We just migrated our existing WebRTC logic from android to this library, and it was as smooth as possible. The main documentation should be the original one from Google. The documentation of this library is good enough to show you how to use the usual logic but in Kotlin style, for example, Flow instead of callbacks, etc.

YoussefHachicha commented 1 month ago

@tamimattafi Thank you for reassuring me! Is there any chance you could share the codebase with me? I'd be more than happy to offer something in return if that helps. Also, is this the Google documentation you were referring to? WebRTC Codelab, or is it something else?

tamimattafi commented 1 month ago

@YoussefHachicha Unfortunately, I'm not able to share the code with anyone, since it's protected by my company rules.

Yes, the tutorial you sent is from official sources, but it's for web apps Here's the main website: https://webrtc.org/. Check the samples section for more useful information.

Also, you might find these links useful: