Skip to content

Commit

Permalink
feat: update webrtc to m125 (#153)
Browse files Browse the repository at this point in the history
* feat: prepare for m125 update

* feat: update webrtc to m125
  • Loading branch information
davidliu authored Jun 24, 2024
1 parent 72cb7ca commit 5c84173
Show file tree
Hide file tree
Showing 14 changed files with 532 additions and 542 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ dependencies {
api 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api 'com.github.davidliu:audioswitch:89582c47c9a04c62f90aa5e57251af4800a62c9a'
api 'io.github.webrtc-sdk:android:114.5735.11'
api 'io.github.webrtc-sdk:android:125.6422.02'
implementation project(':livekit_react-native-webrtc')
implementation "androidx.annotation:annotation:1.4.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ open class SimulcastVideoEncoderFactoryWrapper(
return future.get()
}

override fun createNativeVideoEncoder(): Long {
val future = executor.submit(Callable { return@Callable encoder.createNativeVideoEncoder() })
override fun createNative(webrtcEnvRef: Long): Long {
val future = executor.submit(Callable { return@Callable encoder.createNative(webrtcEnvRef) })
return future.get()
}

Expand Down
Loading

0 comments on commit 5c84173

Please sign in to comment.