Skip to content

Commit

Permalink
resolve merge
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Oct 10, 2023
2 parents 5ec35eb + 48d3206 commit c72bf5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions rtspserver/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.pedro.rtspserver" />
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />
2 changes: 2 additions & 0 deletions rtspserver/src/main/java/com/pedro/rtspserver/ServerClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ open class ServerClient(
} else if (request.method == Method.TEARDOWN) {
Log.i(TAG, "Client disconnected")
listener.onDisconnected(this)
connectCheckerRtsp.onDisconnectRtsp()
}
} catch (e: SocketException) { // Client has left
Log.e(TAG, "Client disconnected", e)
listener.onDisconnected(this)
connectCheckerRtsp.onConnectionFailedRtsp(e.message.toString())
break
} catch (e: Exception) {
Log.e(TAG, "Unexpected error", e)
Expand Down

0 comments on commit c72bf5a

Please sign in to comment.