
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
com.shepeliev:webrtc-kmp-iosarm64
Advanced tools
WebRTC Kotlin Multiplatform SDK is a comprehensive toolkit for integrating WebRTC functionality into your multiplatform projects. It supports Android, iOS, JS. Other platforms - PRs are welcome.
API | Android | iOS | JS/WasmJS |
---|---|---|---|
Audio/Video | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Data channel | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Screen Capture | :white_check_mark: | :white_check_mark: |
Current revision: M125
The library is published to Maven Central.
commonMain.dependencies {
dependencies {
implementation("com.shepeliev:webrtc-kmp:$webRtcKmpVersion")
}
}
On iOS, the WebRTC SDK is not linked as a transitive dependency, so you need to add it to your iOS project manually.
This can be done using CocoaPods or SPM, depending on your project setup. Here is an example of how to link
the WebRTC SDK using CocoaPods in build.gradle.kts
:
kotlin {
cocoapods {
version = "1.0.0"
summary = "Shared module"
homepage = "not published"
ios.deploymentTarget = "13.0"
pod("WebRTC-SDK") {
version = "125.6422.05"
moduleName = "WebRTC"
}
podfile = project.file("../iosApp/Podfile")
framework {
baseName = "shared"
isStatic = true
}
xcodeConfigurationToNativeBuildType["CUSTOM_DEBUG"] = NativeBuildType.DEBUG
xcodeConfigurationToNativeBuildType["CUSTOM_RELEASE"] = NativeBuildType.RELEASE
}
iosX64()
iosArm64()
iosSimulatorArm64()
}
Also add the following to your Podfile
in the target section:
use_frameworks!
pod 'shared', :path => '../shared'
Please refer to sample.
// Set MediaProjection permission intent using `MediaProjectionIntentHolder`
val mediaProjectionPermissionLauncher = rememberLauncherForActivityResult(
contract = ActivityResultContracts.StartActivityForResult()
) { activityResult ->
activityResult.data?.also {
MediaProjectionIntentHolder.intent = it
}
}
FAQs
WebRTC Kotlin Multiplatform SDK
We found that com.shepeliev:webrtc-kmp-iosarm64 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.