From 4a71441ef12b9bb9d896e3adb766b31c374f37e7 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Mon, 1 Jul 2024 07:41:12 +0000 Subject: [PATCH 01/23] =?UTF-8?q?=F0=9F=A4=96=20Automated=20Format=20and?= =?UTF-8?q?=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/pubspec.lock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 8f6e3387c..5c98242d8 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -339,9 +339,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: ".." - relative: true - source: path + name: hmssdk_flutter + sha256: c91a6409939487c5322b950cf23a5ebe3f40ab839163b06977d51545a3cceb13 + url: "https://pub.dev" + source: hosted version: "1.10.4" http: dependency: transitive From f306d0aac96163a314208e5a61648ab3b7ec9435 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:46:05 +0530 Subject: [PATCH 02/23] Updated sdk to 1.10.5 (#1794) --- packages/hms_room_kit/example/pubspec.lock | 11 ++--- packages/hms_room_kit/example/pubspec.yaml | 2 +- packages/hms_room_kit/pubspec.lock | 9 ++-- packages/hms_room_kit/pubspec.yaml | 5 +- .../HMSNoiseCancellationControllerAction.kt | 11 ++--- .../example/ExampleAppChangelog.txt | 8 ++-- .../hmssdk_flutter/example/ios/Podfile.lock | 48 +++++++++---------- packages/hmssdk_flutter/example/pubspec.lock | 11 ++--- packages/hmssdk_flutter/example/pubspec.yaml | 2 +- .../lib/assets/sdk-versions.json | 6 +-- packages/hmssdk_flutter/pubspec.yaml | 2 +- 11 files changed, 56 insertions(+), 59 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index b258c3089..5c7446488 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -238,15 +238,14 @@ packages: path: ".." relative: true source: path - version: "1.1.4" + version: "1.1.5" hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: c91a6409939487c5322b950cf23a5ebe3f40ab839163b06977d51545a3cceb13 - url: "https://pub.dev" - source: hosted - version: "1.10.4" + path: "../../hmssdk_flutter" + relative: true + source: path + version: "1.10.5" http: dependency: transitive description: diff --git a/packages/hms_room_kit/example/pubspec.yaml b/packages/hms_room_kit/example/pubspec.yaml index c72366a10..0752a727f 100644 --- a/packages/hms_room_kit/example/pubspec.yaml +++ b/packages/hms_room_kit/example/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.1.4 +version: 1.1.5 environment: sdk: ">=3.0.0 <4.0.0" diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 8ad5ed950..c84aff2ed 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -219,11 +219,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - name: hmssdk_flutter - sha256: c91a6409939487c5322b950cf23a5ebe3f40ab839163b06977d51545a3cceb13 - url: "https://pub.dev" - source: hosted - version: "1.10.4" + path: "../hmssdk_flutter" + relative: true + source: path + version: "1.10.5" http: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index 6bf96d141..c3caa27b0 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -1,6 +1,6 @@ name: hms_room_kit description: 100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps. -version: 1.1.4 +version: 1.1.5 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues @@ -14,7 +14,8 @@ dependencies: flutter: sdk: flutter - hmssdk_flutter: 1.10.4 + hmssdk_flutter: + path: ../hmssdk_flutter intl: ^0.18.0 permission_handler: ^11.0.0 provider: ^6.0.5 diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSNoiseCancellationControllerAction.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSNoiseCancellationControllerAction.kt index 90a267057..a0156161c 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSNoiseCancellationControllerAction.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSNoiseCancellationControllerAction.kt @@ -2,6 +2,7 @@ package live.hms.hmssdk_flutter.methods import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodChannel +import live.hms.hmssdk_flutter.HMSCommonAction import live.hms.hmssdk_flutter.HMSErrorLogger import live.hms.hmssdk_flutter.HMSResultExtension import live.hms.video.factories.noisecancellation.AvailabilityStatus @@ -40,8 +41,7 @@ class HMSNoiseCancellationControllerAction { result: MethodChannel.Result, hmssdk: HMSSDK, ) { - hmssdk.setNoiseCancellationEnabled(true) - result.success(null) + hmssdk.enableNoiseCancellation(true,HMSCommonAction.getActionListener(result)) } /** @@ -51,8 +51,7 @@ class HMSNoiseCancellationControllerAction { result: MethodChannel.Result, hmssdk: HMSSDK, ) { - hmssdk.setNoiseCancellationEnabled(false) - result.success(null) + hmssdk.enableNoiseCancellation(false, HMSCommonAction.getActionListener(result)) } /** @@ -62,7 +61,7 @@ class HMSNoiseCancellationControllerAction { result: MethodChannel.Result, hmssdk: HMSSDK, ) { - val isEnabled = hmssdk.getNoiseCancellationEnabled() + val isEnabled = hmssdk.isNoiseCancellationEnabled() result.success(HMSResultExtension.toDictionary(true, isEnabled)) } @@ -73,7 +72,7 @@ class HMSNoiseCancellationControllerAction { result: MethodChannel.Result, hmssdk: HMSSDK, ) { - val availabilityStatus = hmssdk.isNoiseCancellationAvailable() + val availabilityStatus = hmssdk.isNoiseCancellationSupported() if (availabilityStatus == AvailabilityStatus.Available) { result.success(HMSResultExtension.toDictionary(true, data = true)) } else { diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index ab9d42beb..b9f8be6eb 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -6,7 +6,7 @@ https://app.devrev.ai/100ms/works/ISS-10106 - Live transcription in WebRTC mode https://app.devrev.ai/100ms/works/ISS-22680 -Room Kit: 1.1.4 -Core SDK: 1.10.4 -Android SDK: 2.9.59 -iOS SDK: 1.12.0 \ No newline at end of file +Room Kit: 1.1.5 +Core SDK: 1.10.5 +Android SDK: 2.9.62 +iOS SDK: 1.13.0 \ No newline at end of file diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 1bdbf7f5f..eab1eff45 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -27,15 +27,15 @@ PODS: - Firebase/Performance (= 10.18.0) - firebase_core - Flutter - - FirebaseABTesting (10.27.0): + - FirebaseABTesting (10.28.0): - FirebaseCore (~> 10.0) - FirebaseCore (10.18.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.12) - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.27.0): + - FirebaseCoreExtension (10.28.0): - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.27.0): + - FirebaseCoreInternal (10.28.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - FirebaseCrashlytics (10.18.0): - FirebaseCore (~> 10.5) @@ -47,7 +47,7 @@ PODS: - PromisesObjC (~> 2.1) - FirebaseDynamicLinks (10.18.0): - FirebaseCore (~> 10.0) - - FirebaseInstallations (10.27.0): + - FirebaseInstallations (10.28.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) @@ -62,7 +62,7 @@ PODS: - GoogleUtilities/ISASwizzler (~> 7.8) - GoogleUtilities/MethodSwizzler (~> 7.8) - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseRemoteConfig (10.27.0): + - FirebaseRemoteConfig (10.28.0): - FirebaseABTesting (~> 10.0) - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) @@ -70,8 +70,8 @@ PODS: - FirebaseSharedSwift (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseRemoteConfigInterop (10.27.0) - - FirebaseSessions (10.27.0): + - FirebaseRemoteConfigInterop (10.28.0) + - FirebaseSessions (10.28.0): - FirebaseCore (~> 10.5) - FirebaseCoreExtension (~> 10.0) - FirebaseInstallations (~> 10.0) @@ -80,7 +80,7 @@ PODS: - GoogleUtilities/UserDefaults (~> 7.13) - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesSwift (~> 2.1) - - FirebaseSharedSwift (10.27.0) + - FirebaseSharedSwift (10.28.0) - Flutter (1.0.0) - flutter_foreground_task (0.0.1): - Flutter @@ -130,16 +130,16 @@ PODS: - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - HMSNoiseCancellationModels (1.0.0) - - HMSSDK (1.12.0): + - HMSSDK (1.13.0): - HMSAnalyticsSDK (= 0.0.2) - - HMSWebRTC (= 1.0.6169) - - hmssdk_flutter (1.10.4): + - HMSWebRTC (= 1.0.6170) + - hmssdk_flutter (1.10.5): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - HMSNoiseCancellationModels (= 1.0.0) - - HMSSDK (= 1.12.0) - - HMSWebRTC (1.0.6169) + - HMSSDK (= 1.13.0) + - HMSWebRTC (1.0.6170) - image_picker_ios (0.0.1): - Flutter - MLImage (1.0.0-beta4) @@ -291,18 +291,18 @@ SPEC CHECKSUMS: firebase_crashlytics: 4b91b8ad60ee7c168fe88979f84c9573a729de7a firebase_dynamic_links: b626a11f5eb02033981ae377377c3f297eb4c1b0 firebase_performance: 2183122a3c7a650c80d8c164e9e28f13c4c62fc7 - FirebaseABTesting: 038a7d5f1e36ba7208cf34f6f596946d8f70d6c3 + FirebaseABTesting: 589bc28c0ab3e5554336895a34aa262e24276665 FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f - FirebaseCoreExtension: 4ec89dd0c6de93d6becde32122d68b7c35f6bf5d - FirebaseCoreInternal: 4b297a2d56063dbea2c1d0d04222d44a8d058862 + FirebaseCoreExtension: f63147b723e2a700fe0f34ec6fb7f358d6fe83e0 + FirebaseCoreInternal: 58d07f1362fddeb0feb6a857d1d1d1c5e558e698 FirebaseCrashlytics: 86d5bce01f42fa1db265f87ff1d591f04db610ec FirebaseDynamicLinks: c37307441c53838d66a9650dabca9e0459502527 - FirebaseInstallations: 766dabca09fd94aef922538aaf144cc4a6fb6869 + FirebaseInstallations: 60c1d3bc1beef809fd1ad1189a8057a040c59f2e FirebasePerformance: c406a9198d8aabfbac281b42855f5122fc1bcf69 - FirebaseRemoteConfig: 37a2ba3c8c454be8553a41ba1a2f4a4f0b845670 - FirebaseRemoteConfigInterop: c55a739f5ab121792776e191d9fd437dc624a541 - FirebaseSessions: 2fdf949f9e58295a57703ae8f2efc44f9fa3aa16 - FirebaseSharedSwift: a03fe7a59ee646fef71099a887f774fe25d745b8 + FirebaseRemoteConfig: f0879a8dccf4e8905716ed849569130efaeab3e2 + FirebaseRemoteConfigInterop: 70d200c6956ef3b5c3592a95e824c1210682d785 + FirebaseSessions: 20da8500ad66bb12622743e170459bf62a0768e8 + FirebaseSharedSwift: 48de4aec81a6b79bb30404e5e6db43ea74848fed Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a @@ -315,9 +315,9 @@ SPEC CHECKSUMS: HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 HMSNoiseCancellationModels: a3bda1405a16015632f4bcabd46ce48f35103b02 - HMSSDK: 137107663eedc276c22639b2ec941c1f14f75d23 - hmssdk_flutter: 869c38a41e8fae0bf78d47740beb7889b4b5837a - HMSWebRTC: 8f51ba33a0e505e17ebf3d7b37bcdca266751a13 + HMSSDK: 732458b0404d44a5852747a9e2577d5e5d13e15e + hmssdk_flutter: 451d0735d00280d7e08f2b74920a6b10b47a90e8 + HMSWebRTC: b5ffaf5d6133ae2a4c841beaf1e5e4fe06d0fb07 image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425 MLImage: 7bb7c4264164ade9bf64f679b40fb29c8f33ee9b MLKitBarcodeScanning: 04e264482c5f3810cb89ebc134ef6b61e67db505 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 5c98242d8..6bc75609e 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -335,15 +335,14 @@ packages: path: "../../hms_room_kit" relative: true source: path - version: "1.1.4" + version: "1.1.5" hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: c91a6409939487c5322b950cf23a5ebe3f40ab839163b06977d51545a3cceb13 - url: "https://pub.dev" - source: hosted - version: "1.10.4" + path: ".." + relative: true + source: path + version: "1.10.5" http: dependency: transitive description: diff --git a/packages/hmssdk_flutter/example/pubspec.yaml b/packages/hmssdk_flutter/example/pubspec.yaml index 88f7d9256..d0aaf2e98 100644 --- a/packages/hmssdk_flutter/example/pubspec.yaml +++ b/packages/hmssdk_flutter/example/pubspec.yaml @@ -4,7 +4,7 @@ description: Demonstrates how to use the hmssdk_flutter plugin. # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. publish_to: "none" # Remove this line if you wish to publish to pub.dev -version: 1.10.4 +version: 1.10.5 environment: sdk: ">=2.16.0 <4.0.0" diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index 23e0ef9ba..a0478b1f5 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -1,8 +1,8 @@ { - "flutter": "1.10.4", - "ios": "1.12.0", + "flutter": "1.10.5", + "ios": "1.13.0", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", "iOSNoiseCancellationModels": "1.0.0", - "android": "2.9.59" + "android": "2.9.62" } diff --git a/packages/hmssdk_flutter/pubspec.yaml b/packages/hmssdk_flutter/pubspec.yaml index 7c5b6cec2..1e2445444 100644 --- a/packages/hmssdk_flutter/pubspec.yaml +++ b/packages/hmssdk_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: hmssdk_flutter description: Add Real Time Audio & Video calls, Interactive Live Streaming & Recording, Chat, HLS, RTMP, PiP, CallKit, VoIP, Video conferencing, Stream Player & WebRTC-based communications API -version: 1.10.4 +version: 1.10.5 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues From 09ee2156662278bb36c2fd70453d3eb5ea9c4976 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:55:37 +0530 Subject: [PATCH 03/23] ISS-22834: Transcription parity across platforms (#1793) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added transcriptions fix to be in parity with other platforms * Updated gemfile * Added caption fix * Updated transcription box size * Fixed transcription for same peer * Updated transcription padding * 🤖 Automated Format and Fix * released sample app version 1.5.209 (509) 🍀 --------- Co-authored-by: Decoder07 --- .../lib/src/meeting/meeting_store.dart | 29 +++++- .../lib/src/model/transcript_store.dart | 27 ++++++ .../common_widgets/transcription_view.dart | 97 ++++++++++++++++--- .../example/ExampleAppChangelog.txt | 9 +- .../example/android/app/build.gradle | 4 +- .../hmssdk_flutter/example/ios/Gemfile.lock | 20 ++-- .../example/ios/Runner/Info.plist | 4 +- 7 files changed, 155 insertions(+), 35 deletions(-) create mode 100644 packages/hms_room_kit/lib/src/model/transcript_store.dart diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index adcf9a6eb..111f93c49 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -8,6 +8,7 @@ import 'dart:io'; //Package imports // import 'package:hms_video_plugin/hms_video_plugin.dart'; +import 'package:hms_room_kit/src/model/transcript_store.dart'; import 'package:hmssdk_flutter/hmssdk_flutter.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; @@ -283,7 +284,7 @@ class MeetingStore extends ChangeNotifier bool isTranscriptionDisplayed = false; - List captions = []; + List captions = []; Future join(String userName, String? tokenData) async { late HMSConfig joinConfig; @@ -2762,10 +2763,34 @@ class MeetingStore extends ChangeNotifier @override void onTranscripts({required List transcriptions}) { areCaptionsEmpty = false; - captions = transcriptions; startTranscriptionHideTimer(); + + ///Remove the first element if the length is greater than 3 + if (captions.length >= 3) { + captions.removeRange(0, 1); + } transcriptions.forEach((element) { log("onTranscripts -> text: ${element.transcript}"); + + /// + if (captions.isEmpty) { + captions.add(TranscriptStore( + transcript: element.transcript, + peerId: element.peerId, + start: element.start, + peerName: element.peerName)); + } else { + if (captions.last.peerId == element.peerId && + captions.last.start == element.start) { + captions.last.setTranscript(element.transcript); + } else { + captions.add(TranscriptStore( + transcript: element.transcript, + peerId: element.peerId, + start: element.start, + peerName: element.peerName)); + } + } }); notifyListeners(); } diff --git a/packages/hms_room_kit/lib/src/model/transcript_store.dart b/packages/hms_room_kit/lib/src/model/transcript_store.dart new file mode 100644 index 000000000..6d881fd3d --- /dev/null +++ b/packages/hms_room_kit/lib/src/model/transcript_store.dart @@ -0,0 +1,27 @@ +library; + +///Package imports +import 'package:flutter/material.dart'; + +///[TranscriptStore] is a model that is used to store the transcript data +class TranscriptStore extends ChangeNotifier { + String transcript; + final String peerId; + final int start; + final String? peerName; + + TranscriptStore( + {required this.transcript, + required this.peerId, + required this.start, + required this.peerName}); + + void notify() { + notifyListeners(); + } + + void setTranscript(String transcript) { + this.transcript = transcript; + notifyListeners(); + } +} diff --git a/packages/hms_room_kit/lib/src/widgets/common_widgets/transcription_view.dart b/packages/hms_room_kit/lib/src/widgets/common_widgets/transcription_view.dart index 500fa8558..3884916ec 100644 --- a/packages/hms_room_kit/lib/src/widgets/common_widgets/transcription_view.dart +++ b/packages/hms_room_kit/lib/src/widgets/common_widgets/transcription_view.dart @@ -5,7 +5,7 @@ import 'dart:io'; ///Package imports import 'package:flutter/material.dart'; -import 'package:hmssdk_flutter/hmssdk_flutter.dart'; +import 'package:hms_room_kit/src/model/transcript_store.dart'; import 'package:provider/provider.dart'; import 'package:tuple/tuple.dart'; @@ -28,15 +28,10 @@ class _TranscriptionViewState extends State { selector: (_, meetingStore) => meetingStore.isTranscriptionDisplayed, builder: (_, isTranscriptionDisplayed, __) { return isTranscriptionDisplayed - ? Selector, int>>( + ? Selector, int>>( selector: (_, meetingStore) => Tuple2( meetingStore.captions, meetingStore.captions.length), builder: (_, data, __) { - String transcript = ""; - for (var i = 0; i < data.item2; i++) { - transcript += - "${data.item1[i].peerName}: ${data.item1[i].transcript}\n"; - } return data.item2 > 0 ? Selector>( selector: (_, meetingStore) => Tuple2( @@ -76,6 +71,7 @@ class _TranscriptionViewState extends State { ? 80 : 50 : null, + left: 5, child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: @@ -85,7 +81,8 @@ class _TranscriptionViewState extends State { width: MediaQuery.of(context) .size .width - - 10, + 15, + height: 100, padding: const EdgeInsets.all(5), margin: const EdgeInsets.all(2), decoration: BoxDecoration( @@ -95,11 +92,85 @@ class _TranscriptionViewState extends State { borderRadius: const BorderRadius.all( Radius.circular(10))), - child: HMSSubtitleText( - text: transcript, - maxLines: 5, - textColor: HMSThemeColors - .onSurfaceHighEmphasis)), + + ///Here we render the list of transcriptions + child: ListView.builder( + shrinkWrap: true, + physics: + NeverScrollableScrollPhysics(), + itemCount: data.item2, + itemBuilder: + (context, index) { + return ChangeNotifierProvider + .value( + value: data.item1[index], + child: Selector< + TranscriptStore, + String>( + selector: (_, + transcriptStore) => + transcriptStore + .transcript, + builder: (_, + transcript, __) { + ///Here we render the transcriptions + ///with peer name in bold and transcript in normal font + return RichText( + text: TextSpan( + children: [ + if (index != + 0 && + data.item1[index].peerName == + data.item1[index - 1] + .peerName) + TextSpan( + text: "", + style: TextStyle( + color: HMSThemeColors + .onSurfaceHighEmphasis, + fontSize: + 14, + height: 20 / + 14, + letterSpacing: + 0.25), + ) + else + TextSpan( + text: + "${data.item1[index].peerName}: ", + style: TextStyle( + color: HMSThemeColors + .onSurfaceHighEmphasis, + fontSize: + 14, + fontWeight: FontWeight + .bold, + height: 20 / + 14, + letterSpacing: + 0.25), + ), + TextSpan( + text: + transcript, + style: TextStyle( + color: HMSThemeColors + .onSurfaceHighEmphasis, + fontSize: + 14, + height: + 20 / + 14, + letterSpacing: + 0.25), + ) + ], + ), + ); + }), + ); + })), ], ), ); diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index b9f8be6eb..b591f01db 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -1,12 +1,9 @@ Board: https://app.devrev.ai/100ms/vistas/vista-250 -- Move all the permissions from app to SDK -https://app.devrev.ai/100ms/works/ISS-10106 - -- Live transcription in WebRTC mode -https://app.devrev.ai/100ms/works/ISS-22680 +- Caption text is not in sync with other app +https://app.devrev.ai/100ms/works/ISS-22834 Room Kit: 1.1.5 Core SDK: 1.10.5 Android SDK: 2.9.62 -iOS SDK: 1.13.0 \ No newline at end of file +iOS SDK: 1.13.0 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index acaeb6de6..286a5dbd3 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 507 - versionName "1.5.207" + versionCode 509 + versionName "1.5.209" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index 09a15366e..fee179fb2 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -10,22 +10,22 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.944.0) - aws-sdk-core (3.197.0) + aws-partitions (1.949.0) + aws-sdk-core (3.200.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.85.0) - aws-sdk-core (~> 3, >= 3.197.0) + aws-sdk-kms (1.87.0) + aws-sdk-core (~> 3, >= 3.199.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.152.3) - aws-sdk-core (~> 3, >= 3.197.0) + aws-sdk-s3 (1.155.0) + aws-sdk-core (~> 3, >= 3.199.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) aws-sigv4 (1.8.0) @@ -74,7 +74,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.3.1) - fastlane (2.221.0) + fastlane (2.221.1) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -181,7 +181,7 @@ GEM optparse (0.5.0) os (1.1.4) plist (3.7.1) - public_suffix (5.1.1) + public_suffix (6.0.0) rake (13.2.1) representable (3.2.0) declarative (< 0.1.0) diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 954370388..b7d5c5c25 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.207 + 1.5.209 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 507 + 509 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 17c517f7c94389a24a37dc419e9f647b419954d2 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:55:53 +0530 Subject: [PATCH 04/23] Added noise cancellation controls from prebuilt (#1795) --- .../layout_api/hms_conferencing_items.dart | 14 +++++++++-- .../lib/src/layout_api/hms_room_layout.dart | 23 +++++++++++++++++-- .../lib/src/preview/preview_store.dart | 16 +++++++++++-- 3 files changed, 47 insertions(+), 6 deletions(-) diff --git a/packages/hms_room_kit/lib/src/layout_api/hms_conferencing_items.dart b/packages/hms_room_kit/lib/src/layout_api/hms_conferencing_items.dart index 53c90d92f..3b50c024e 100644 --- a/packages/hms_room_kit/lib/src/layout_api/hms_conferencing_items.dart +++ b/packages/hms_room_kit/lib/src/layout_api/hms_conferencing_items.dart @@ -1,3 +1,8 @@ +library; + +///Project imports +import 'package:hms_room_kit/src/layout_api/hms_room_layout.dart'; + class Conferencing { Default? defaultConf; HlsLiveStreaming? hlsLiveStreaming; @@ -110,7 +115,7 @@ class Elements { OnStageExp? onStageExp; Map? brb; Map? handRaise; - + NoiseCancellation? noiseCancellation; Elements( {this.header, this.chat, @@ -119,7 +124,8 @@ class Elements { this.emojiReactions, this.onStageExp, this.brb, - this.handRaise}); + this.handRaise, + this.noiseCancellation}); Elements.fromJson(Map? json) { if (json == null) { @@ -131,6 +137,7 @@ class Elements { onStageExp = null; brb = null; handRaise = null; + noiseCancellation = null; return; } @@ -150,6 +157,9 @@ class Elements { : null; brb = json.containsKey("brb") ? json["brb"] : null; handRaise = json.containsKey("hand_raise") ? json["hand_raise"] : null; + noiseCancellation = json.containsKey("noise_cancellation") + ? NoiseCancellation.fromJson(json["noise_cancellation"]) + : null; } Map toJson() { diff --git a/packages/hms_room_kit/lib/src/layout_api/hms_room_layout.dart b/packages/hms_room_kit/lib/src/layout_api/hms_room_layout.dart index 2675197a0..d694eeb1f 100644 --- a/packages/hms_room_kit/lib/src/layout_api/hms_room_layout.dart +++ b/packages/hms_room_kit/lib/src/layout_api/hms_room_layout.dart @@ -54,12 +54,29 @@ class ScreenElements { } } +class NoiseCancellation { + final bool? enabledByDefault; + + NoiseCancellation({this.enabledByDefault = false}); + factory NoiseCancellation.fromJson(Map? json) { + if (json == null) { + return NoiseCancellation(enabledByDefault: false); + } + return NoiseCancellation(enabledByDefault: json['enabled_by_default']); + } +} + class Preview { final ScreenElements? previewHeader; final JoinForm? joinForm; + final NoiseCancellation? noiseCancellation; final bool? skipPreviewScreen; - Preview({this.previewHeader, this.joinForm, this.skipPreviewScreen = false}); + Preview( + {this.previewHeader, + this.joinForm, + this.skipPreviewScreen = false, + this.noiseCancellation}); factory Preview.fromJson(Map? json) { if (json == null) { @@ -69,7 +86,9 @@ class Preview { previewHeader: ScreenElements.fromJson( json['default']?['elements']?['preview_header']), joinForm: JoinForm.fromJson(json['default']?['elements']?['join_form']), - skipPreviewScreen: json["skip_preview_screen"]); + skipPreviewScreen: json["skip_preview_screen"], + noiseCancellation: NoiseCancellation.fromJson( + json['default']?['elements']?['noise_cancellation'])); } } diff --git a/packages/hms_room_kit/lib/src/preview/preview_store.dart b/packages/hms_room_kit/lib/src/preview/preview_store.dart index 9b2cbe847..75ec55e63 100644 --- a/packages/hms_room_kit/lib/src/preview/preview_store.dart +++ b/packages/hms_room_kit/lib/src/preview/preview_store.dart @@ -211,9 +211,21 @@ class PreviewStore extends ChangeNotifier void checkNoiseCancellationAvailablility() async { isNoiseCancellationAvailable = await hmsSDKInteractor.isNoiseCancellationAvailable(); + + ///Here we check if noise cancellation is available, if its available + ///then we check if its enabled from dashboard in preview + ///If yes we enable it. + ///Else we check the noise cancellation status to update the UI if (isNoiseCancellationAvailable) { - isNoiseCancellationEnabled = - await hmsSDKInteractor.isNoiseCancellationEnabled(); + if (HMSRoomLayout.roleLayoutData?.screens?.preview?.noiseCancellation + ?.enabledByDefault ?? + false) { + hmsSDKInteractor.enableNoiseCancellation(); + isNoiseCancellationEnabled = true; + } else { + isNoiseCancellationEnabled = + await hmsSDKInteractor.isNoiseCancellationEnabled(); + } } notifyListeners(); } From 53367e173dd92a15c00d72e28f6c1f1058cbbea4 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 2 Jul 2024 15:15:09 +0530 Subject: [PATCH 05/23] Updated changelog --- packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index b591f01db..0aeb2e6d4 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -3,6 +3,9 @@ Board: https://app.devrev.ai/100ms/vistas/vista-250 - Caption text is not in sync with other app https://app.devrev.ai/100ms/works/ISS-22834 +- Noise cancellation layout API +https://app.devrev.ai/100ms/works/ISS-22858 + Room Kit: 1.1.5 Core SDK: 1.10.5 Android SDK: 2.9.62 From 2c6d7c5e87e9176ba6285c60297d5beca0b97d0c Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 2 Jul 2024 15:30:43 +0530 Subject: [PATCH 06/23] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?10=20(510)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 286a5dbd3..6f227cc52 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 509 - versionName "1.5.209" + versionCode 510 + versionName "1.5.210" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index b7d5c5c25..b5eec5462 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.209 + 1.5.210 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 509 + 510 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From e1bc03f7482e9370731901fcec8a45e24413a13e Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:45:16 +0530 Subject: [PATCH 07/23] Foreground microphone fix (#1797) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added microphone service type in foreground service * updated changelog * released sample app version 1.5.211 (511) 🍀 --- packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 3 +++ packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- .../hmssdk_flutter/example/lib/foreground_task_handler.dart | 2 +- .../hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 0aeb2e6d4..ec149dcb3 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -6,6 +6,9 @@ https://app.devrev.ai/100ms/works/ISS-22834 - Noise cancellation layout API https://app.devrev.ai/100ms/works/ISS-22858 +- Sample application not able to access microphone from background in android 14. +https://app.devrev.ai/100ms/works/ISS-22907 + Room Kit: 1.1.5 Core SDK: 1.10.5 Android SDK: 2.9.62 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 6f227cc52..459cfe2be 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 510 - versionName "1.5.210" + versionCode 511 + versionName "1.5.211" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index b5eec5462..473c97cd5 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.210 + 1.5.211 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 510 + 511 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/packages/hmssdk_flutter/example/lib/foreground_task_handler.dart b/packages/hmssdk_flutter/example/lib/foreground_task_handler.dart index be95acb5b..92ef37fbc 100644 --- a/packages/hmssdk_flutter/example/lib/foreground_task_handler.dart +++ b/packages/hmssdk_flutter/example/lib/foreground_task_handler.dart @@ -52,7 +52,7 @@ Future initForegroundTask() async { if (isPermissionsGiven) { FlutterForegroundTask.init( androidNotificationOptions: AndroidNotificationOptions( - foregroundServiceType: AndroidForegroundServiceType.CAMERA, + foregroundServiceType: AndroidForegroundServiceType.MICROPHONE, channelId: '100ms_flutter_notification', channelName: '100ms Flutter Notification', channelDescription: diff --git a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift index 640681cde..9d56521d1 100644 --- a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift +++ b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift @@ -924,7 +924,7 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene return } - hmsSDK?.preview(role: role) { tracks, error in + hmsSDK?.preview(role: role) { [self] tracks, error in if let error = error { print(#function, error) From 130fde4ecacf8e35468912f5d96b63fe19fd1905 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Tue, 23 Jul 2024 12:41:53 +0530 Subject: [PATCH 08/23] Fixed noise cancellation property on android from dashboard (#1798) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixed noise cancellation property on android from dashboard * 🤖 Automated Format and Fix * released sample app version 1.5.212 (512) 🍀 * Changed branch to dev-v2 * released sample app version 1.5.213 (513) 🍀 * Updated android sdk version to 2.9.64 * updated changelog * released sample app version 1.5.214 (514) 🍀 --------- Co-authored-by: Decoder07 --- .../lib/src/meeting/meeting_store.dart | 13 +++++++++++- .../example/ExampleAppChangelog.txt | 5 ++++- .../example/android/app/build.gradle | 4 ++-- .../hmssdk_flutter/example/ios/Gemfile.lock | 20 +++++++++---------- .../example/ios/Runner/Info.plist | 4 ++-- ...HMSNoiseCancellationControllerAction.swift | 2 +- .../lib/assets/sdk-versions.json | 2 +- 7 files changed, 32 insertions(+), 18 deletions(-) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index 111f93c49..a3730dd64 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -2511,11 +2511,22 @@ class MeetingStore extends ChangeNotifier void checkNoiseCancellationAvailability() async { isNoiseCancellationAvailable = await _hmsSDKInteractor.isNoiseCancellationAvailable(); + + ///Here we check if noise cancellation is available, if its available + ///then we check if its enabled from dashboard in the default configuration + ///If yes we enable it. + ///Else we check the noise cancellation status to update the UI if (isNoiseCancellationAvailable) { isNoiseCancellationEnabled = await _hmsSDKInteractor.isNoiseCancellationEnabled(); + if ((HMSRoomLayout.roleLayoutData?.screens?.conferencing?.defaultConf + ?.elements?.noiseCancellation?.enabledByDefault ?? + false) && + !isNoiseCancellationEnabled) { + _hmsSDKInteractor.enableNoiseCancellation(); + isNoiseCancellationEnabled = true; + } } - notifyListeners(); } void toggleWhiteboard() async { diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index ec149dcb3..e6440bf71 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -9,7 +9,10 @@ https://app.devrev.ai/100ms/works/ISS-22858 - Sample application not able to access microphone from background in android 14. https://app.devrev.ai/100ms/works/ISS-22907 +- Transciption replaces older transcription from view +https://app.devrev.ai/100ms/works/ISS-22845 + Room Kit: 1.1.5 Core SDK: 1.10.5 -Android SDK: 2.9.62 +Android SDK: 2.9.64 iOS SDK: 1.13.0 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 459cfe2be..3be7e0758 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 511 - versionName "1.5.211" + versionCode 514 + versionName "1.5.214" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index fee179fb2..795ca6aea 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -15,19 +15,19 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.949.0) - aws-sdk-core (3.200.0) + aws-partitions (1.955.0) + aws-sdk-core (3.201.1) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.87.0) - aws-sdk-core (~> 3, >= 3.199.0) - aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.155.0) - aws-sdk-core (~> 3, >= 3.199.0) + aws-sdk-kms (1.88.0) + aws-sdk-core (~> 3, >= 3.201.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.156.0) + aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.8) + aws-sigv4 (~> 1.5) aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) @@ -44,7 +44,7 @@ GEM domain_name (0.6.20240107) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.110.0) + excon (0.111.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -170,7 +170,7 @@ GEM json (2.7.2) jwt (2.8.2) base64 - mini_magick (4.13.1) + mini_magick (4.13.2) mini_mime (1.1.5) minitest (5.22.3) multi_json (1.15.0) diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 473c97cd5..a59452617 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.211 + 1.5.214 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 511 + 514 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/packages/hmssdk_flutter/ios/Classes/Actions/HMSNoiseCancellationControllerAction.swift b/packages/hmssdk_flutter/ios/Classes/Actions/HMSNoiseCancellationControllerAction.swift index c7e708265..e3a7f6427 100644 --- a/packages/hmssdk_flutter/ios/Classes/Actions/HMSNoiseCancellationControllerAction.swift +++ b/packages/hmssdk_flutter/ios/Classes/Actions/HMSNoiseCancellationControllerAction.swift @@ -33,7 +33,7 @@ class HMSNoiseCancellationController { static func createPlugin() { noiseCancellationController = { if let pathForNCModel = HMSNoiseCancellationModels.path(for: .smallFullBand) { - return HMSNoiseCancellationPlugin(modelPath: pathForNCModel, initialState: .enabled) + return HMSNoiseCancellationPlugin(modelPath: pathForNCModel, initialState: .disabled) } else { assertionFailure("Noise cancellation model was not found") } diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index a0478b1f5..e2668a540 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -4,5 +4,5 @@ "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", "iOSNoiseCancellationModels": "1.0.0", - "android": "2.9.62" + "android": "2.9.64" } From a08a87768234917815a64741bd40144a98a55835 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Tue, 23 Jul 2024 12:43:27 +0530 Subject: [PATCH 09/23] Updated SDK version and added change log (#1802) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated SDK version and added change log * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 Co-authored-by: ygit --- packages/hms_room_kit/CHANGELOG.md | 16 ++++++++++++++++ packages/hms_room_kit/example/pubspec.lock | 4 ++-- packages/hms_room_kit/pubspec.lock | 4 ++-- packages/hms_room_kit/pubspec.yaml | 2 +- packages/hmssdk_flutter/CHANGELOG.md | 12 ++++++++++++ .../example/ExampleAppChangelog.txt | 2 +- packages/hmssdk_flutter/example/pubspec.lock | 4 ++-- 7 files changed, 36 insertions(+), 8 deletions(-) diff --git a/packages/hms_room_kit/CHANGELOG.md b/packages/hms_room_kit/CHANGELOG.md index 38c5d1c49..e57e7d948 100644 --- a/packages/hms_room_kit/CHANGELOG.md +++ b/packages/hms_room_kit/CHANGELOG.md @@ -5,6 +5,22 @@ | hms_room_kit | [![Pub Version](https://img.shields.io/pub/v/hms_room_kit)](https://pub.dev/packages/hms_room_kit) | | hmssdk_flutter | [![Pub Version](https://img.shields.io/pub/v/hmssdk_flutter)](https://pub.dev/packages/hmssdk_flutter) | +## 1.1.5 - 2024-07-23 + +| Package | Version | +| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| hms_room_kit | 1.1.5 | +| hmssdk_flutter | 1.10.5 | +| hms_video_plugin | 0.0.2 | + +### 🚀 Added + +- Noise Cancellation initial state customisation + + Noise cancellation initial state can now be customised from the prebuilt customiser. + +Uses `hmssdk_flutter` package version 1.10.5 + ## 1.1.4 - 2024-07-01 | Package | Version | diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 5c7446488..333c9949d 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -330,10 +330,10 @@ packages: dependency: transitive description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" js: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index c84aff2ed..5efc4fac2 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -307,10 +307,10 @@ packages: dependency: "direct main" description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" js: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index c3caa27b0..a8f6bdcb4 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: hmssdk_flutter: path: ../hmssdk_flutter - intl: ^0.18.0 + intl: ^0.19.0 permission_handler: ^11.0.0 provider: ^6.0.5 google_fonts: 6.1.0 diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index 8ad0d50e1..5717a4822 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/CHANGELOG.md @@ -5,6 +5,18 @@ | hms_room_kit | [![Pub Version](https://img.shields.io/pub/v/hms_room_kit)](https://pub.dev/packages/hms_room_kit) | | hmssdk_flutter | [![Pub Version](https://img.shields.io/pub/v/hmssdk_flutter)](https://pub.dev/packages/hmssdk_flutter) | +# 1.10.5 - 2024-07-23 + +| Package | Version | +| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| hms_room_kit | 1.1.5 | +| hmssdk_flutter | 1.10.5 | +| hms_video_plugin | 0.0.2 | + +Uses Android SDK 2.9.64 & iOS SDK 1.15.0 + +**Full Changelog**: [1.10.4...1.10.5](https://github.com/100mslive/100ms-flutter/compare/1.10.4...1.10.5) + # 1.10.4 - 2024-07-01 | Package | Version | diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index e6440bf71..18b59d7d7 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -15,4 +15,4 @@ https://app.devrev.ai/100ms/works/ISS-22845 Room Kit: 1.1.5 Core SDK: 1.10.5 Android SDK: 2.9.64 -iOS SDK: 1.13.0 +iOS SDK: 1.15.0 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 6bc75609e..431861161 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -427,10 +427,10 @@ packages: dependency: transitive description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" js: dependency: transitive description: From fc6a6ab444cd8ff2c64d33e0b1ad68a26e0ccb97 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 23 Jul 2024 14:26:19 +0530 Subject: [PATCH 10/23] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?15=20(515)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 4 ++-- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 18b59d7d7..810325734 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -6,10 +6,10 @@ https://app.devrev.ai/100ms/works/ISS-22834 - Noise cancellation layout API https://app.devrev.ai/100ms/works/ISS-22858 -- Sample application not able to access microphone from background in android 14. +- Sample application not able to access microphone from a background in Android 14. https://app.devrev.ai/100ms/works/ISS-22907 -- Transciption replaces older transcription from view +- Transcription replaces older transcription from view https://app.devrev.ai/100ms/works/ISS-22845 Room Kit: 1.1.5 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 3be7e0758..9c0c39a8d 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 514 - versionName "1.5.214" + versionCode 515 + versionName "1.5.215" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index a59452617..bdd33e8a5 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.214 + 1.5.215 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 514 + 515 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 54b9bee6c68a10b20f217695c03a1130f64ca440 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 23 Jul 2024 14:44:28 +0530 Subject: [PATCH 11/23] Updated iOS SDK version --- .../hmssdk_flutter/example/ios/Podfile.lock | 40 +++++++++---------- .../lib/assets/sdk-versions.json | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index eab1eff45..135ec9926 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -27,15 +27,15 @@ PODS: - Firebase/Performance (= 10.18.0) - firebase_core - Flutter - - FirebaseABTesting (10.28.0): + - FirebaseABTesting (10.29.0): - FirebaseCore (~> 10.0) - FirebaseCore (10.18.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.12) - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.28.0): + - FirebaseCoreExtension (10.29.0): - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.28.0): + - FirebaseCoreInternal (10.29.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - FirebaseCrashlytics (10.18.0): - FirebaseCore (~> 10.5) @@ -47,7 +47,7 @@ PODS: - PromisesObjC (~> 2.1) - FirebaseDynamicLinks (10.18.0): - FirebaseCore (~> 10.0) - - FirebaseInstallations (10.28.0): + - FirebaseInstallations (10.29.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) @@ -62,7 +62,7 @@ PODS: - GoogleUtilities/ISASwizzler (~> 7.8) - GoogleUtilities/MethodSwizzler (~> 7.8) - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseRemoteConfig (10.28.0): + - FirebaseRemoteConfig (10.29.0): - FirebaseABTesting (~> 10.0) - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) @@ -70,8 +70,8 @@ PODS: - FirebaseSharedSwift (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseRemoteConfigInterop (10.28.0) - - FirebaseSessions (10.28.0): + - FirebaseRemoteConfigInterop (10.29.0) + - FirebaseSessions (10.29.0): - FirebaseCore (~> 10.5) - FirebaseCoreExtension (~> 10.0) - FirebaseInstallations (~> 10.0) @@ -80,7 +80,7 @@ PODS: - GoogleUtilities/UserDefaults (~> 7.13) - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesSwift (~> 2.1) - - FirebaseSharedSwift (10.28.0) + - FirebaseSharedSwift (10.29.0) - Flutter (1.0.0) - flutter_foreground_task (0.0.1): - Flutter @@ -130,7 +130,7 @@ PODS: - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - HMSNoiseCancellationModels (1.0.0) - - HMSSDK (1.13.0): + - HMSSDK (1.15.0): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.6170) - hmssdk_flutter (1.10.5): @@ -138,7 +138,7 @@ PODS: - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - HMSNoiseCancellationModels (= 1.0.0) - - HMSSDK (= 1.13.0) + - HMSSDK (= 1.15.0) - HMSWebRTC (1.0.6170) - image_picker_ios (0.0.1): - Flutter @@ -291,18 +291,18 @@ SPEC CHECKSUMS: firebase_crashlytics: 4b91b8ad60ee7c168fe88979f84c9573a729de7a firebase_dynamic_links: b626a11f5eb02033981ae377377c3f297eb4c1b0 firebase_performance: 2183122a3c7a650c80d8c164e9e28f13c4c62fc7 - FirebaseABTesting: 589bc28c0ab3e5554336895a34aa262e24276665 + FirebaseABTesting: d87f56707159bae64e269757a6e963d490f2eebe FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f - FirebaseCoreExtension: f63147b723e2a700fe0f34ec6fb7f358d6fe83e0 - FirebaseCoreInternal: 58d07f1362fddeb0feb6a857d1d1d1c5e558e698 + FirebaseCoreExtension: 705ca5b14bf71d2564a0ddc677df1fc86ffa600f + FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934 FirebaseCrashlytics: 86d5bce01f42fa1db265f87ff1d591f04db610ec FirebaseDynamicLinks: c37307441c53838d66a9650dabca9e0459502527 - FirebaseInstallations: 60c1d3bc1beef809fd1ad1189a8057a040c59f2e + FirebaseInstallations: 913cf60d0400ebd5d6b63a28b290372ab44590dd FirebasePerformance: c406a9198d8aabfbac281b42855f5122fc1bcf69 - FirebaseRemoteConfig: f0879a8dccf4e8905716ed849569130efaeab3e2 - FirebaseRemoteConfigInterop: 70d200c6956ef3b5c3592a95e824c1210682d785 - FirebaseSessions: 20da8500ad66bb12622743e170459bf62a0768e8 - FirebaseSharedSwift: 48de4aec81a6b79bb30404e5e6db43ea74848fed + FirebaseRemoteConfig: 48ef3f243742a8d72422ccfc9f986e19d7de53fd + FirebaseRemoteConfigInterop: 6efda51fb5e2f15b16585197e26eaa09574e8a4d + FirebaseSessions: dbd14adac65ce996228652c1fc3a3f576bdf3ecc + FirebaseSharedSwift: 20530f495084b8d840f78a100d8c5ee613375f6e Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a @@ -315,8 +315,8 @@ SPEC CHECKSUMS: HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 HMSNoiseCancellationModels: a3bda1405a16015632f4bcabd46ce48f35103b02 - HMSSDK: 732458b0404d44a5852747a9e2577d5e5d13e15e - hmssdk_flutter: 451d0735d00280d7e08f2b74920a6b10b47a90e8 + HMSSDK: fc3d2141c654e9fdca7f27c290c17b6b61b9dc92 + hmssdk_flutter: 5e98234b680a0c7f814671aa5ad649b67d6fe670 HMSWebRTC: b5ffaf5d6133ae2a4c841beaf1e5e4fe06d0fb07 image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425 MLImage: 7bb7c4264164ade9bf64f679b40fb29c8f33ee9b diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index e2668a540..473ba10fb 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -1,6 +1,6 @@ { "flutter": "1.10.5", - "ios": "1.13.0", + "ios": "1.15.0", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", "iOSNoiseCancellationModels": "1.0.0", From 86ed14c2a6dc60b5d33e3eac91ae7a16331578c2 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 24 Jul 2024 14:20:31 +0530 Subject: [PATCH 12/23] updated ReadMe --- README.md | 9 +++++++ docs/static/img/appstore.svg | 46 ++++++++++++++++++++++++++++++++++ docs/static/img/googleplay.svg | 2 ++ 3 files changed, 57 insertions(+) create mode 100644 docs/static/img/appstore.svg create mode 100644 docs/static/img/googleplay.svg diff --git a/README.md b/README.md index 6298e6b35..526e1c227 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,15 @@ With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture ( 100ms Flutter apps are also released on the App Stores, you can download them here: + + 📲 iOS app on Apple App Store: 🤖 Android app on Google Play Store: diff --git a/docs/static/img/appstore.svg b/docs/static/img/appstore.svg new file mode 100644 index 000000000..072b425a1 --- /dev/null +++ b/docs/static/img/appstore.svg @@ -0,0 +1,46 @@ + + Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/static/img/googleplay.svg b/docs/static/img/googleplay.svg new file mode 100644 index 000000000..68b707abe --- /dev/null +++ b/docs/static/img/googleplay.svg @@ -0,0 +1,2 @@ + +image/svg+xml From 1545e6d8960facbdfd481621e74ea7bfe6b0f6f5 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 24 Jul 2024 14:21:51 +0530 Subject: [PATCH 13/23] updated ReadMe --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 526e1c227..247313352 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture ( 🤖 Download the Sample Android app here: -100ms Flutter apps are also released on the App Stores, you can download them here: +100ms Flutter apps are also released on the App Stores, do download them and try it out. -📲 iOS app on Apple App Store: - -🤖 Android app on Google Play Store: - ## 🚂 Setup Guide 1. Sign up on & visit the Developer tab to access your credentials. From 5a02e86a862ca9c860bf3494a9bf53696cd194a6 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 24 Jul 2024 15:20:10 +0530 Subject: [PATCH 14/23] updated ReadMe --- README.md | 2 +- packages/hms_room_kit/README.md | 12 +++++++++--- packages/hmssdk_flutter/README.md | 15 ++++++++++----- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 247313352..b2e79d9e1 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture ( 🤖 Download the Sample Android app here: -100ms Flutter apps are also released on the App Stores, do download them and try it out. +100ms Flutter apps are also available on the App Stores, do download them and try it out.
diff --git a/packages/hms_room_kit/README.md b/packages/hms_room_kit/README.md index 28592a53d..612989ca5 100644 --- a/packages/hms_room_kit/README.md +++ b/packages/hms_room_kit/README.md @@ -31,11 +31,17 @@ This package provides developers with a comprehensive set of tools and component 🤖 Download the Sample Android app here: -100ms Flutter apps are also released on the App Stores, you can download them here: +100ms Flutter apps are also available on the App Stores, do download them and try it out. -📲 iOS app on Apple App Store: + -🤖 Android app on Google Play Store: ## 🚂 Setup Guide diff --git a/packages/hmssdk_flutter/README.md b/packages/hmssdk_flutter/README.md index 7eccea214..1e7779cd2 100644 --- a/packages/hmssdk_flutter/README.md +++ b/packages/hmssdk_flutter/README.md @@ -32,11 +32,16 @@ With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture ( 🤖 Download the Sample Android app here: -100ms Flutter apps are also released on the App Stores, you can download them here: - -📲 iOS app on Apple App Store: - -🤖 Android app on Google Play Store: +100ms Flutter apps are also available on the App Stores, do download them and try it out. + + ## 🚂 Setup Guide From 7b64e1d61786db5807cf06596dd741133556f2e6 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 24 Jul 2024 15:21:38 +0530 Subject: [PATCH 15/23] updated image path --- packages/hms_room_kit/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hms_room_kit/README.md b/packages/hms_room_kit/README.md index 612989ca5..3afaf6730 100644 --- a/packages/hms_room_kit/README.md +++ b/packages/hms_room_kit/README.md @@ -35,10 +35,10 @@ This package provides developers with a comprehensive set of tools and component From b3a515a937f784956cecddbd8f4c172bde59634f Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 24 Jul 2024 15:23:04 +0530 Subject: [PATCH 16/23] updated image paths --- packages/hms_room_kit/README.md | 4 ++-- packages/hmssdk_flutter/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hms_room_kit/README.md b/packages/hms_room_kit/README.md index 3afaf6730..374ef29b2 100644 --- a/packages/hms_room_kit/README.md +++ b/packages/hms_room_kit/README.md @@ -35,10 +35,10 @@ This package provides developers with a comprehensive set of tools and component diff --git a/packages/hmssdk_flutter/README.md b/packages/hmssdk_flutter/README.md index 1e7779cd2..d63c281c4 100644 --- a/packages/hmssdk_flutter/README.md +++ b/packages/hmssdk_flutter/README.md @@ -36,10 +36,10 @@ With support for HLS and RTMP Live Streaming and Recording, Picture-in-Picture ( From 929c080a46cb32f83b69c2923fced0dc236e7729 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:23:36 +0530 Subject: [PATCH 17/23] fix: Added fix for end room with bottom sheet (#1803) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added fix for end room with bottom sheet * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- .../hms_room_kit/lib/src/meeting/meeting_store.dart | 1 + .../bottom_sheets/chat_only_bottom_sheet.dart | 12 ++++++++++++ .../tab_widgets/chat_participants_tab_bar.dart | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index a3730dd64..50bc49a90 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -1433,6 +1433,7 @@ class MeetingStore extends ChangeNotifier void clearRoomState() async { // clearPIPState(); + removeAllBottomSheets(); removeListeners(); toggleAlwaysScreenOn(); diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_only_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_only_bottom_sheet.dart index fecab62e6..9a411caae 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_only_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_only_bottom_sheet.dart @@ -24,6 +24,18 @@ class ChatOnlyBottomSheet extends StatefulWidget { } class _ChatOnlyBottomSheetState extends State { + @override + void initState() { + super.initState(); + context.read().addBottomSheet(context); + } + + @override + void deactivate() { + context.read().removeBottomSheet(context); + super.deactivate(); + } + @override Widget build(BuildContext context) { return SafeArea( diff --git a/packages/hms_room_kit/lib/src/widgets/tab_widgets/chat_participants_tab_bar.dart b/packages/hms_room_kit/lib/src/widgets/tab_widgets/chat_participants_tab_bar.dart index 65edabab7..7309a0e21 100644 --- a/packages/hms_room_kit/lib/src/widgets/tab_widgets/chat_participants_tab_bar.dart +++ b/packages/hms_room_kit/lib/src/widgets/tab_widgets/chat_participants_tab_bar.dart @@ -32,6 +32,7 @@ class _ChatParticipantsTabBarState extends State @override void initState() { super.initState(); + context.read().addBottomSheet(context); _controller = TabController(length: 2, vsync: this, initialIndex: widget.tabIndex); @@ -40,6 +41,12 @@ class _ChatParticipantsTabBarState extends State }); } + @override + void deactivate() { + context.read().removeBottomSheet(context); + super.deactivate(); + } + @override Widget build(BuildContext context) { return SafeArea( From 47fb977a04607b7758afc4f3a3ad7de97525a277 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Wed, 24 Jul 2024 16:04:44 +0530 Subject: [PATCH 18/23] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?16=20(516)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 9c0c39a8d..6918a4c48 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 515 - versionName "1.5.215" + versionCode 516 + versionName "1.5.216" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index bdd33e8a5..9e9fc85b5 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.215 + 1.5.216 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 515 + 516 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From c021f27e638b74eb51ee033bdb8763500f1b8d94 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 25 Jul 2024 13:14:16 +0530 Subject: [PATCH 19/23] Fix: Leave room renders blank screen (#1805) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added leave room fix * Fixed leave room issue * released sample app version 1.5.217 (517) 🍀 * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- packages/hms_room_kit/lib/src/meeting/meeting_page.dart | 1 + packages/hms_room_kit/lib/src/meeting/meeting_store.dart | 1 - .../src/widgets/bottom_sheets/end_service_bottom_sheet.dart | 1 + packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_page.dart b/packages/hms_room_kit/lib/src/meeting/meeting_page.dart index 3d5dfc85b..f290bffd7 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_page.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_page.dart @@ -94,6 +94,7 @@ class _MeetingPageState extends State { builder: (_, failureErrors, __) { if (failureErrors.item1) { WidgetsBinding.instance.addPostFrameCallback((_) { + context.read().removeAllBottomSheets(); Navigator.of(context).pushReplacement(MaterialPageRoute( builder: (context) => HMSLeftRoomScreen( isEndRoomCalled: failureErrors.item3, diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index 50bc49a90..a3730dd64 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -1433,7 +1433,6 @@ class MeetingStore extends ChangeNotifier void clearRoomState() async { // clearPIPState(); - removeAllBottomSheets(); removeListeners(); toggleAlwaysScreenOn(); diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/end_service_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/end_service_bottom_sheet.dart index 6e7819beb..ac0f3cfd2 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/end_service_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/end_service_bottom_sheet.dart @@ -106,6 +106,7 @@ class _EndServiceBottomSheetState extends State { if (widget.onButtonPressed != null) { widget.onButtonPressed!(); } + context.read().removeBottomSheet(context); Navigator.pop(context); }, child: SizedBox( diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 6918a4c48..bd317f8f6 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 516 - versionName "1.5.216" + versionCode 517 + versionName "1.5.217" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 9e9fc85b5..0d0587ce8 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.216 + 1.5.217 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 516 + 517 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From a8ea4302bf41d34d5ba6381aa98de2b2d4b77e21 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 14:04:08 +0530 Subject: [PATCH 20/23] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?18=20(518)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index bd317f8f6..d0c8a5858 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 517 - versionName "1.5.217" + versionCode 518 + versionName "1.5.218" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 0d0587ce8..2389fb90c 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.217 + 1.5.218 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 517 + 518 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 313d9b2f1124b5309ac18b5b41ed34de303937a4 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 15:28:46 +0530 Subject: [PATCH 21/23] updated readme --- packages/hms_room_kit/CHANGELOG.md | 4 ++-- packages/hmssdk_flutter/CHANGELOG.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hms_room_kit/CHANGELOG.md b/packages/hms_room_kit/CHANGELOG.md index e57e7d948..d6bd02d05 100644 --- a/packages/hms_room_kit/CHANGELOG.md +++ b/packages/hms_room_kit/CHANGELOG.md @@ -4,14 +4,14 @@ | -------------- | ------------------------------------------------------------------------------------------------------ | | hms_room_kit | [![Pub Version](https://img.shields.io/pub/v/hms_room_kit)](https://pub.dev/packages/hms_room_kit) | | hmssdk_flutter | [![Pub Version](https://img.shields.io/pub/v/hmssdk_flutter)](https://pub.dev/packages/hmssdk_flutter) | +| hms_video_plugin | [![Pub Version](https://img.shields.io/pub/v/hms_video_plugin)](https://pub.dev/packages/hms_video_plugin) | -## 1.1.5 - 2024-07-23 +## 1.1.5 - 2024-07-25 | Package | Version | | -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | hms_room_kit | 1.1.5 | | hmssdk_flutter | 1.10.5 | -| hms_video_plugin | 0.0.2 | ### 🚀 Added diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index 5717a4822..fee920169 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/CHANGELOG.md @@ -4,14 +4,14 @@ | -------------- | ------------------------------------------------------------------------------------------------------ | | hms_room_kit | [![Pub Version](https://img.shields.io/pub/v/hms_room_kit)](https://pub.dev/packages/hms_room_kit) | | hmssdk_flutter | [![Pub Version](https://img.shields.io/pub/v/hmssdk_flutter)](https://pub.dev/packages/hmssdk_flutter) | +| hms_video_plugin | [![Pub Version](https://img.shields.io/pub/v/hms_video_plugin)](https://pub.dev/packages/hms_video_plugin) | -# 1.10.5 - 2024-07-23 +# 1.10.5 - 2024-07-25 | Package | Version | | -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | hms_room_kit | 1.1.5 | | hmssdk_flutter | 1.10.5 | -| hms_video_plugin | 0.0.2 | Uses Android SDK 2.9.64 & iOS SDK 1.15.0 From bb5ed341e618ad7e07eeb9d34b01b86593023f80 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 15:32:10 +0530 Subject: [PATCH 22/23] Updated hmssdk_flutter version to 1.10.5 --- packages/hms_room_kit/example/pubspec.lock | 7 ++++--- packages/hms_room_kit/pubspec.lock | 7 ++++--- packages/hms_room_kit/pubspec.yaml | 3 +-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 333c9949d..c62245892 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -242,9 +242,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: "../../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: "2da8500708d8a8ebfa3d3ffb2f1deafd0ff23828dfaff6fdd1b4367da6337cf0" + url: "https://pub.dev" + source: hosted version: "1.10.5" http: dependency: transitive diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 5efc4fac2..df659cc15 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -219,9 +219,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - path: "../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: "2da8500708d8a8ebfa3d3ffb2f1deafd0ff23828dfaff6fdd1b4367da6337cf0" + url: "https://pub.dev" + source: hosted version: "1.10.5" http: dependency: transitive diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index a8f6bdcb4..459cb3ea2 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -14,8 +14,7 @@ dependencies: flutter: sdk: flutter - hmssdk_flutter: - path: ../hmssdk_flutter + hmssdk_flutter: 1.10.5 intl: ^0.19.0 permission_handler: ^11.0.0 provider: ^6.0.5 From df2416ae950a6eca55984d4b7f1a80f117512c45 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 10:03:36 +0000 Subject: [PATCH 23/23] =?UTF-8?q?=F0=9F=A4=96=20Automated=20Format=20and?= =?UTF-8?q?=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/pubspec.lock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 431861161..6c8d07012 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -339,9 +339,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: ".." - relative: true - source: path + name: hmssdk_flutter + sha256: "2da8500708d8a8ebfa3d3ffb2f1deafd0ff23828dfaff6fdd1b4367da6337cf0" + url: "https://pub.dev" + source: hosted version: "1.10.5" http: dependency: transitive