Skip to content

Commit

Permalink
fix rtmp releaseStream on few servers
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Sep 14, 2023
1 parent 0ec6591 commit a8f1c01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -70,7 +70,7 @@ allprojects {
}
}
dependencies {
implementation 'com.github.pedroSG94.RootEncoder:library:2.2.7'
implementation 'com.github.pedroSG94.RootEncoder:library:2.2.8'
}
```
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -4,8 +4,8 @@ apply plugin: 'org.jetbrains.dokka'
buildscript {
ext.kotlin_version = '1.9.10'
ext.library_group = "com.github.pedroSG94"
ext.version_code = 227
ext.version_name = "2.2.7"
ext.version_code = 228
ext.version_name = "2.2.8"

repositories {
google()
Expand Down
3 changes: 3 additions & 0 deletions rtmp/src/main/java/com/pedro/rtmp/rtmp/RtmpClient.kt
Expand Up @@ -426,6 +426,9 @@ class RtmpClient(private val connectCheckerRtmp: ConnectCheckerRtmp) {
}
}
}
"releaseStream" -> { //we can ignore this error. Few servers fail if this stream is not in use
Log.e(TAG, "releaseStream failed: $description")
}
else -> {
onMainThread {
connectCheckerRtmp.onConnectionFailedRtmp(description)
Expand Down

0 comments on commit a8f1c01

Please sign in to comment.