From a05f388a616683ff1567307f02c94496402a1334 Mon Sep 17 00:00:00 2001 From: ThibaultBee <37510686+ThibaultBee@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:24:06 +0100 Subject: [PATCH] chore(version): bump to 1.4.0 --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++-- README.md | 2 +- gradle.properties | 4 ++-- 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30198c8..54f442a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,72 +1,102 @@ # Changelog + All changes to this project will be documented in this file. +## [1.4.0] - 2024-02-15 + +- Add an API to explicitly set the camera to use +- Add an API to set the video resolution with a `Size` object +- Rename `IConnectionChecker` to `IConnectionListener` +- Add a callback in `ApiVideoLiveStream` constructor to know when the library requires the + permission to access the camera or the microphone +- Update to StreamPack 2.6.0 +- Upgrade to gradle 8, Kotlin 1.9 + ## [1.3.1] - 2023-03-27 + - Return a `onConnectionFailed` when `connectStream` failed. ## [1.3.0] - 2023-01-06 + - Add an API to set the interval between to key frames - Synchronize video and audio RTMP packets - Fix a crash when microphone is muted on few devices ## [1.2.3] - 2022-10-10 + - Fix a crash on `stopStreaming` due to a `free` in `rtmpdroid` ## [1.2.2] - 2022-10-05 + - Fix preview when `videoConfig` is set before the `view.display` exists ## [1.2.1] - 2022-09-29 -- Fix preview when `ApiVideoView` has already been created + +- Fix preview when `ApiVideoView` has already been created - Only call `onDisconnect` when application was connected - Release workflow is triggered on release published (instead of created) - Example: remove rxpermission usage ## [1.2.0] - 2022-08-18 + - Adds API to set zoom ratio ## [1.1.0] - 2022-08-05 + - `initialVideoConfig` and `initialAudioConfig` are now optional - Multiple fixes on RTMP stream (to avoid ANR and to improve compatibility) ## [1.0.4] - 2022-06-28 + - Disconnect after a `stopStream`. ## [1.0.3] - 2022-06-13 + - Fix stream after a `stopPreview` call. - Disconnect if `startStream` fails. ## [1.0.2] - 2022-04-25 + - Do not remove SurfaceView callbacks when the Surface is destroyed. ## [1.0.1] - 2022-04-13 + - Fix audioConfig and videoConfig API - Improve stop live button look ## [1.0.0] - 2022-04-05 + - Add a configuration helper - Add video and audio configuration default value instead of using a builder - Change internal RTMP live stream library ## [0.3.3] - 2022-01-24 + - Add startPreview/stopPreview API ## [0.3.2] - 2022-01-19 + - Catch onConnectionFailed to stop streaming without user - Throw an exception on `startStreaming` when stream key is empty - Remove jcenter as a dependency repository ## [0.3.1] - 2021-12-14 + - Add a trailing slash at the end of the RTMP url in case it is missing - Rename project to live-stream ## [0.3.0] - 2021-10-14 + - Add/Improve API: introducing videoConfig and audioConfig changes ## [0.3.0] - 2021-10-14 + - Add/Improve API: introducing videoConfig and audioConfig changes - + ## [0.2.0] - 2021-10-07 + - Sample application ## [0.1.0] - 2021-05-14 + - First version diff --git a/README.md b/README.md index 62605a5..314140a 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ On build.gradle add the following code in dependencies: ```groovy dependencies { - implementation 'video.api:android-live-stream:1.3.1' + implementation 'video.api:android-live-stream:1.4.0' } ``` diff --git a/gradle.properties b/gradle.properties index a85b5df..3967e05 100644 --- a/gradle.properties +++ b/gradle.properties @@ -29,8 +29,8 @@ POM_NAME=android-live-stream POM_ARTIFACT_ID=android-live-stream POM_PACKAGING=aar -VERSION_NAME=1.3.1 -VERSION_CODE=1003001 +VERSION_NAME=1.4.0 +VERSION_CODE=1004000 GROUP=video.api POM_DESCRIPTION=Android live stream module for api.video service.