diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e1c917..22d593c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # VXG Mobile SDK Android +### MobileSDK 2.0.314 + + CloudSDK +Version 2.0.314_20230515: +- updated versions of used SDK: + PlayerSDK: 6.96.20230512 + EncoderSDK: 6.13.20230512 +- improved live stream opening speed +- added new method onLiveUrlsProvider in PlayerCallback with the ability to set a live url +- added new advanced config settings for tune low latency and fast detection stream functionality: + *AdvancedOptionInitWithFastStreamDetection, + *AdvancedOptionInitWithLowLatency, + *AdvancedOptionTcpNoDelay, + *AdvancedOptionAnalyzeDuration, + *AdvancedOptionHlsReloadPlaylistInterval +- added new advanced config setting for auto reconnect after data io error occurred: + *reconnectOnErrorDataIO +- added new advanced config setting for enable internal get camera status check: + *enableCameraStatusCheck + + PlayerSDK +Version 6.96.20230512: +- migrated on ffmpeg.6.0.0 +- added new low latency functionality +- improved stream fast detection functionality +- added new data IO error support + CP_ERROR_DATA_IO +- added new advanced config settings: + advancedSourceOptionTcpNoDelay, + advancedSourceOptionAnalyzeDuration, + advancedSourceOptionHlsReloadPlaylistInterval, + advancedSourceInitWithFastStreamDetection, + advancedSourceInitWithLowLatency +- fixed possible crash on close + + EncoderSDK +Version 6.13.20230512: +- migrated on ffmpeg.6.0.0 +- fixed problem with loading native part + ### MobileSDK 2.0.313 CloudSDK diff --git a/MediaSDK/EncoderSDK/aar/encodersdk-6.13.20230322.aar b/CloudSDK/aar/cloudsdk-2.0.314.aar similarity index 71% rename from MediaSDK/EncoderSDK/aar/encodersdk-6.13.20230322.aar rename to CloudSDK/aar/cloudsdk-2.0.314.aar index a0b18fb..923f1d2 100644 Binary files a/MediaSDK/EncoderSDK/aar/encodersdk-6.13.20230322.aar and b/CloudSDK/aar/cloudsdk-2.0.314.aar differ diff --git a/CloudSDK/src/build.gradle b/CloudSDK/src/build.gradle index a04b410..fae0eaa 100644 --- a/CloudSDK/src/build.gradle +++ b/CloudSDK/src/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. ext { - cloudsdk_ver = project.hasProperty('cloudsdk_ver') ? project.getProperty('cloudsdk_ver') : "2.0.313" - playersdk_ver = project.hasProperty('playersdk_ver') ? project.getProperty('playersdk_ver') : "6.96.20230322" + cloudsdk_ver = project.hasProperty('cloudsdk_ver') ? project.getProperty('cloudsdk_ver') : "2.0.314" + playersdk_ver = project.hasProperty('playersdk_ver') ? project.getProperty('playersdk_ver') : "6.96.20230512" } buildscript { diff --git a/MediaSDK/PlayerSDK/aar/playersdk-6.96.20230322.aar b/MediaSDK/EncoderSDK/aar/encodersdk-6.13.20230512.aar similarity index 76% rename from MediaSDK/PlayerSDK/aar/playersdk-6.96.20230322.aar rename to MediaSDK/EncoderSDK/aar/encodersdk-6.13.20230512.aar index f7bc579..31970a6 100644 Binary files a/MediaSDK/PlayerSDK/aar/playersdk-6.96.20230322.aar and b/MediaSDK/EncoderSDK/aar/encodersdk-6.13.20230512.aar differ diff --git a/MediaSDK/EncoderSDK/src/MediaStreamServiceTest/app/build.gradle b/MediaSDK/EncoderSDK/src/MediaStreamServiceTest/app/build.gradle index 4ed5645..8e08540 100644 --- a/MediaSDK/EncoderSDK/src/MediaStreamServiceTest/app/build.gradle +++ b/MediaSDK/EncoderSDK/src/MediaStreamServiceTest/app/build.gradle @@ -24,7 +24,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_encodersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:encodersdk:6.13.20230322' + implementation 'com.vxg.mediasdk:encodersdk:6.13.20230512' } implementation 'androidx.constraintlayout:constraintlayout:1.1.3' } diff --git a/MediaSDK/EncoderSDK/src/MediaStreamTest/app/build.gradle b/MediaSDK/EncoderSDK/src/MediaStreamTest/app/build.gradle index 8687f7d..961e085 100644 --- a/MediaSDK/EncoderSDK/src/MediaStreamTest/app/build.gradle +++ b/MediaSDK/EncoderSDK/src/MediaStreamTest/app/build.gradle @@ -25,7 +25,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_encodersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:encodersdk:6.13.20230322' + implementation 'com.vxg.mediasdk:encodersdk:6.13.20230512' } implementation 'androidx.constraintlayout:constraintlayout:1.1.3' diff --git a/MediaSDK/EncoderSDK/src/build.gradle b/MediaSDK/EncoderSDK/src/build.gradle index 81a5614..1ef6160 100644 --- a/MediaSDK/EncoderSDK/src/build.gradle +++ b/MediaSDK/EncoderSDK/src/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. ext { - cloudsdk_ver = project.hasProperty('cloudsdk_ver') ? project.getProperty('cloudsdk_ver') : "2.0.313" - encodersdk_ver = project.hasProperty('encodersdk_ver') ? project.getProperty('encodersdk_ver') : "6.13.20230322" + cloudsdk_ver = project.hasProperty('cloudsdk_ver') ? project.getProperty('cloudsdk_ver') : "2.0.314" + encodersdk_ver = project.hasProperty('encodersdk_ver') ? project.getProperty('encodersdk_ver') : "6.13.20230512" } buildscript { diff --git a/CloudSDK/aar/cloudsdk-2.0.313.aar b/MediaSDK/PlayerSDK/aar/playersdk-6.96.20230512.aar similarity index 77% rename from CloudSDK/aar/cloudsdk-2.0.313.aar rename to MediaSDK/PlayerSDK/aar/playersdk-6.96.20230512.aar index b99abed..0141e5c 100644 Binary files a/CloudSDK/aar/cloudsdk-2.0.313.aar and b/MediaSDK/PlayerSDK/aar/playersdk-6.96.20230512.aar differ diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest/app/build.gradle index 537ab64..abf3bfa 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest/app/build.gradle @@ -28,7 +28,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DrawOverVideo2/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DrawOverVideo2/app/build.gradle index cf6881e..16c8b22 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DrawOverVideo2/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DrawOverVideo2/app/build.gradle @@ -23,7 +23,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DynamicSurface/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DynamicSurface/app/build.gradle index 479d7ba..49e1872 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DynamicSurface/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_DynamicSurface/app/build.gradle @@ -29,7 +29,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_ExternalSurface/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_ExternalSurface/app/build.gradle index d137a8b..be4832e 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_ExternalSurface/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_ExternalSurface/app/build.gradle @@ -31,7 +31,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_FaceDetection/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_FaceDetection/app/build.gradle index f57f524..f852ee5 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_FaceDetection/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_FaceDetection/app/build.gradle @@ -32,7 +32,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.google.android.gms:play-services:8.1+' diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GLSurfaceView/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GLSurfaceView/app/build.gradle index faaa06e..91575d3 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GLSurfaceView/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GLSurfaceView/app/build.gradle @@ -31,7 +31,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData/app/build.gradle index 9454288..a2a9c54 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData/app/build.gradle @@ -31,7 +31,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData_NoRenderer/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData_NoRenderer/app/build.gradle index 8cd4ad5..5b923e5 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData_NoRenderer/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_GetData_NoRenderer/app/build.gradle @@ -33,7 +33,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'com.google.android.gms:play-services-vision:20.1.3' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_LowLatency/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_LowLatency/app/build.gradle index 454fb10..4d04094 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_LowLatency/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_LowLatency/app/build.gradle @@ -29,7 +29,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_view2x2/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_view2x2/app/build.gradle index 61893a4..0f2d5e0 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_view2x2/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/MediaPlayerSDKTest_view2x2/app/build.gradle @@ -29,7 +29,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.legacy:legacy-support-v4:1.0.0' } diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/RTSP_Player/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/RTSP_Player/app/build.gradle index 1446692..bdc306e 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/RTSP_Player/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/RTSP_Player/app/build.gradle @@ -34,7 +34,7 @@ dependencies { if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { implementation fileTree(dir: project.art_url_playersdk, include: '*.aar') } else { - implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' } implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/VideoPlayer/app/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/VideoPlayer/app/build.gradle index 6725efe..4a0e80f 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/VideoPlayer/app/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/VideoPlayer/app/build.gradle @@ -37,7 +37,7 @@ dependencies { implementation 'com.prolificinteractive:material-calendarview:1.4.3' // Please use playersdk if only media player is used - // implementation 'com.vxg.mediasdk:playersdk:6.96.20230322' + // implementation 'com.vxg.mediasdk:playersdk:6.96.20230512' // Please use cloudsdk for grid example because // CloudMultiPlayerView is located in cloud SDK if (project.hasProperty("isLocalDependencies") && !project.isLocalDependencies.isEmpty()) { diff --git a/MediaSDK/PlayerSDK/src/AndroidStudio/build.gradle b/MediaSDK/PlayerSDK/src/AndroidStudio/build.gradle index a4f0022..29aa9fe 100644 --- a/MediaSDK/PlayerSDK/src/AndroidStudio/build.gradle +++ b/MediaSDK/PlayerSDK/src/AndroidStudio/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. ext { - cloudsdk_ver = project.hasProperty('cloudsdk_ver') ? project.getProperty('cloudsdk_ver') : "2.0.313" - playersdk_ver = project.hasProperty('playersdk_ver') ? project.getProperty('playersdk_ver') : "6.96.20230322" + cloudsdk_ver = project.hasProperty('cloudsdk_ver') ? project.getProperty('cloudsdk_ver') : "2.0.314" + playersdk_ver = project.hasProperty('playersdk_ver') ? project.getProperty('playersdk_ver') : "6.96.20230512" } buildscript {