diff --git a/build.gradle b/build.gradle index aac98d7..5c4e53c 100644 --- a/build.gradle +++ b/build.gradle @@ -4,8 +4,8 @@ buildscript { ext.compile_sdk_version = 35 ext.min_sdk_version = 24 ext.target_sdk_version = 35 - ext.project_version_code = 530 - ext.project_version_name = '5.3.0' + ext.project_version_code = 531 + ext.project_version_name = '5.3.1' repositories { google() diff --git a/library-client-rtsp/src/main/java/com/alexvas/rtsp/RtspClient.java b/library-client-rtsp/src/main/java/com/alexvas/rtsp/RtspClient.java index 0cce113..96227e2 100644 --- a/library-client-rtsp/src/main/java/com/alexvas/rtsp/RtspClient.java +++ b/library-client-rtsp/src/main/java/com/alexvas/rtsp/RtspClient.java @@ -975,9 +975,9 @@ private static Track[] getTracksFromDescribeParams(@NonNull List / ... String[] values = TextUtils.split(param.second, " "); - try{ + try { currentTrack.payloadType = (values.length > 3 ? Integer.parseInt(values[3]) : -1); - }catch (Exception e){ + } catch (Exception e) { currentTrack.payloadType = -1; } if (currentTrack.payloadType == -1)