Skip to content

Commit

Permalink
fix(lib): force to load libcrypto and libssl
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Feb 12, 2024
1 parent ab2f37b commit 9d9607f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/main/java/io/github/thibaultbee/srtdroid/Srt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ package io.github.thibaultbee.srtdroid
*/
object Srt {
init {
/**
* We don't have to load libcrypto and libssl because they are already loaded by
* libsrtdroid. But we force it to be sure. See this [issue](https://github.com/ThibaultBee/StreamPack/issues/99).
*/
System.loadLibrary("crypto")
System.loadLibrary("ssl")
System.loadLibrary("srtdroid")
}

Expand Down

0 comments on commit 9d9607f

Please sign in to comment.