-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Enable Android simulcast #731
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
Conversation
Confirmed this works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work!
This PR is great, but I want to confirm whether the size of the compiled app will be smaller if the plug-in compiled with java is used. If the size is improved, I will consider rewriting to the java version later, but I will still merge this PR first, Thank you for your contribution. |
Is the size increase huge? I was even thinking we can slowly start to migrate Java to Kotlin. Which I think long term will have more contributors. Even Objc to Swift for long term I think will have more contributors interested. What do you think? @cloudwebrtc @davidzhao No need to rush at all tho. |
But since that piece of code is small, it also makes sense to re-write in Java for now (If there are benefits). And we can think about Kotlin/Swift migration another time. Your call @cloudwebrtc |
Migrating to Kotlin/Swift is a general trend, which will require a complete rewrite of the native code of the plugin. |
BTW, I also tried Simulcast on Samsung S20, it works, @hiroshihorie work is really great. |
Yes Simulcast works on both iOS and Android now. Many thanks to Shiguredo, Inc. @cloudwebrtc, and of course LiveKit team, Flutter users can now benefit from a more powerful WebRTC package. |
Yes, the honor belongs to Shiguredo, Inc, and LiveKit team, thanks again. |
Thanks for your great work too @cloudwebrtc !! |
I added in this document how to correctly create the framework for macOS, The important part is to move the merged (arm64/x64) WebRTC binary file to Versions/Current/WebRTC, and use a software symbolic link to Versions/Current/WebRTC in the original location. In addition, the compressed file must use the following command to ensure that the symbolic links in the compressed file remain intact. |
@cloudwebrtc ah ok thanks! |
Really great to have this! Now we have simulcast on all platforms. 🚀 |
Credits to Shiguredo, Inc. Thank you very much @voluntas for the great work. Flutter users will appreciate and benefit from this.
https://github.com/shiguredo/sora-android-sdk/blob/develop/sora-android-sdk/src/main/kotlin/jp/shiguredo/sora/sdk/codec/SimulcastVideoEncoderFactoryWrapper.kt
This PR will turn on Kotlin used by
SimulcastVideoEncoderFactoryWrapper.kt
. I'm not sure if there are any side-effects @cloudwebrtc pls let me know. @davidzhao @davidliu