From b70745072dd954c9857222c16d86b9b2c65f574f Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Mon, 6 Nov 2023 11:26:13 +0530 Subject: [PATCH 01/40] updated package versions --- packages/hms_room_kit/example/ios/Podfile.lock | 2 +- packages/hms_room_kit/example/pubspec.lock | 9 +++++---- packages/hms_room_kit/example/pubspec.yaml | 2 +- packages/hms_room_kit/pubspec.yaml | 2 +- packages/hmssdk_flutter/example/ios/Podfile.lock | 2 +- packages/hmssdk_flutter/example/pubspec.lock | 9 +++++---- packages/hmssdk_flutter/example/pubspec.yaml | 2 +- packages/hmssdk_flutter/lib/assets/sdk-versions.json | 6 +++--- packages/hmssdk_flutter/pubspec.yaml | 2 +- 9 files changed, 19 insertions(+), 17 deletions(-) diff --git a/packages/hms_room_kit/example/ios/Podfile.lock b/packages/hms_room_kit/example/ios/Podfile.lock index cca57bb49..a8ff07d1c 100644 --- a/packages/hms_room_kit/example/ios/Podfile.lock +++ b/packages/hms_room_kit/example/ios/Podfile.lock @@ -81,4 +81,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b -COCOAPODS: 1.13.0 +COCOAPODS: 1.14.2 diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 9dec1da13..79836297d 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -222,13 +222,14 @@ packages: path: ".." relative: true source: path - version: "1.0.4" + version: "1.0.5" hmssdk_flutter: dependency: transitive description: - path: "../../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: "370556fc44ccb950508f9ec67a47285fd901fc2ecce7d0008f0a25e8bbd08389" + url: "https://pub.dev" + source: hosted version: "1.9.1" http: dependency: transitive diff --git a/packages/hms_room_kit/example/pubspec.yaml b/packages/hms_room_kit/example/pubspec.yaml index 8cdbc9c79..35a73cd21 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.0.4 +version: 1.0.5 environment: sdk: ">=2.19.6 <3.0.0" diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index 16a6d6d4a..e60f9f614 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.0.4 +version: 1.0.5 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 04927d6a1..507e515e3 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -249,4 +249,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 919064996fff867cd85dbf9e7730ff45bac23884 -COCOAPODS: 1.13.0 +COCOAPODS: 1.14.2 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 98dd1f3d3..981b03853 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -294,13 +294,14 @@ packages: path: "../../hms_room_kit" relative: true source: path - version: "1.0.4" + version: "1.0.5" hmssdk_flutter: dependency: transitive description: - path: ".." - relative: true - source: path + name: hmssdk_flutter + sha256: "370556fc44ccb950508f9ec67a47285fd901fc2ecce7d0008f0a25e8bbd08389" + url: "https://pub.dev" + source: hosted version: "1.9.1" http: dependency: transitive diff --git a/packages/hmssdk_flutter/example/pubspec.yaml b/packages/hmssdk_flutter/example/pubspec.yaml index 98ac3c653..2d8e43632 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.9.1 +version: 1.9.2 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 38a7ecca1..57b4bafaf 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -1,7 +1,7 @@ { - "flutter": "1.9.1", - "ios": "1.1.0", + "flutter": "1.9.2", + "ios": "1.2.0", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", - "android": "2.7.9" + "android": "2.8.0" } diff --git a/packages/hmssdk_flutter/pubspec.yaml b/packages/hmssdk_flutter/pubspec.yaml index 68da5c1a4..e7149ca87 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.9.1 +version: 1.9.2 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues From 83d89edb4cbb33a1ab111fe95ac8ecb168ef8f22 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Mon, 6 Nov 2023 12:10:15 +0530 Subject: [PATCH 02/40] updated packages --- .../hms_room_kit/example/ios/Podfile.lock | 2 +- .../ios/Runner.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- packages/hms_room_kit/example/pubspec.lock | 60 +++++++++---------- packages/hms_room_kit/pubspec.lock | 60 +++++++++---------- .../example/android/Gemfile.lock | 10 ++-- .../hmssdk_flutter/example/ios/Gemfile.lock | 10 ++-- .../hmssdk_flutter/example/ios/Podfile.lock | 56 +++++++++-------- packages/hmssdk_flutter/example/pubspec.lock | 60 +++++++++---------- 9 files changed, 133 insertions(+), 129 deletions(-) diff --git a/packages/hms_room_kit/example/ios/Podfile.lock b/packages/hms_room_kit/example/ios/Podfile.lock index a8ff07d1c..14cfa2667 100644 --- a/packages/hms_room_kit/example/ios/Podfile.lock +++ b/packages/hms_room_kit/example/ios/Podfile.lock @@ -77,7 +77,7 @@ SPEC CHECKSUMS: permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5 shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126 - url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4 + url_launcher_ios: 68d46cc9766d0c41dbdc884310529557e3cd7a86 PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b diff --git a/packages/hms_room_kit/example/ios/Runner.xcodeproj/project.pbxproj b/packages/hms_room_kit/example/ios/Runner.xcodeproj/project.pbxproj index 00abbc8b9..16761b9f3 100644 --- a/packages/hms_room_kit/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/hms_room_kit/example/ios/Runner.xcodeproj/project.pbxproj @@ -155,7 +155,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/packages/hms_room_kit/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/hms_room_kit/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index c87d15a33..a6b826db2 100644 --- a/packages/hms_room_kit/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/packages/hms_room_kit/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.5) @@ -26,7 +26,7 @@ GEM aws-sdk-core (~> 3, >= 3.181.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.6) - aws-sigv4 (1.6.0) + aws-sigv4 (1.6.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) claide (1.1.0) @@ -117,7 +117,7 @@ GEM gh_inspector (1.1.3) google-apis-androidpublisher_v3 (0.51.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.1) + google-apis-core (0.11.2) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -174,7 +174,7 @@ GEM os (1.1.4) plist (3.7.0) public_suffix (5.0.3) - rake (13.0.6) + rake (13.1.0) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index c74fedc36..eb627fd76 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -13,8 +13,8 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.836.0) - aws-sdk-core (3.185.1) + aws-partitions (1.845.0) + aws-sdk-core (3.186.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.5) @@ -26,7 +26,7 @@ GEM aws-sdk-core (~> 3, >= 3.181.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.6) - aws-sigv4 (1.6.0) + aws-sigv4 (1.6.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) claide (1.1.0) @@ -118,7 +118,7 @@ GEM gh_inspector (1.1.3) google-apis-androidpublisher_v3 (0.51.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.1) + google-apis-core (0.11.2) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -175,7 +175,7 @@ GEM os (1.1.4) plist (3.7.0) public_suffix (5.0.3) - rake (13.0.6) + rake (13.1.0) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 507e515e3..ff9ae946b 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -25,15 +25,15 @@ PODS: - Firebase/Performance (= 10.9.0) - firebase_core - Flutter - - FirebaseABTesting (10.16.0): + - FirebaseABTesting (10.17.0): - FirebaseCore (~> 10.0) - FirebaseCore (10.9.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/Logger (~> 7.8) - - FirebaseCoreExtension (10.16.0): + - FirebaseCoreExtension (10.17.0): - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.16.0): + - FirebaseCoreInternal (10.17.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - FirebaseCrashlytics (10.9.0): - FirebaseCore (~> 10.5) @@ -45,7 +45,7 @@ PODS: - PromisesObjC (~> 2.1) - FirebaseDynamicLinks (10.9.0): - FirebaseCore (~> 10.0) - - FirebaseInstallations (10.16.0): + - FirebaseInstallations (10.17.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) @@ -60,13 +60,14 @@ PODS: - GoogleUtilities/ISASwizzler (~> 7.8) - GoogleUtilities/MethodSwizzler (~> 7.8) - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseRemoteConfig (10.16.0): + - FirebaseRemoteConfig (10.17.0): - FirebaseABTesting (~> 10.0) - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) + - FirebaseSharedSwift (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseSessions (10.16.0): + - FirebaseSessions (10.17.0): - FirebaseCore (~> 10.5) - FirebaseCoreExtension (~> 10.0) - FirebaseInstallations (~> 10.0) @@ -74,6 +75,7 @@ PODS: - GoogleUtilities/Environment (~> 7.10) - nanopb (< 2.30910.0, >= 2.30908.0) - PromisesSwift (~> 2.1) + - FirebaseSharedSwift (10.17.0) - Flutter (1.0.0) - flutter_foreground_task (0.0.1): - Flutter @@ -81,15 +83,15 @@ PODS: - GoogleUtilities/Environment (~> 7.7) - nanopb (< 2.30910.0, >= 2.30908.0) - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Environment (7.11.5): + - GoogleUtilities/Environment (7.11.6): - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/ISASwizzler (7.11.5) - - GoogleUtilities/Logger (7.11.5): + - GoogleUtilities/ISASwizzler (7.11.6) + - GoogleUtilities/Logger (7.11.6): - GoogleUtilities/Environment - - GoogleUtilities/MethodSwizzler (7.11.5): + - GoogleUtilities/MethodSwizzler (7.11.6): - GoogleUtilities/Logger - - "GoogleUtilities/NSData+zlib (7.11.5)" - - GoogleUtilities/UserDefaults (7.11.5): + - "GoogleUtilities/NSData+zlib (7.11.6)" + - GoogleUtilities/UserDefaults (7.11.6): - GoogleUtilities/Logger - HMSAnalyticsSDK (0.0.2) - HMSBroadcastExtensionSDK (0.0.9) @@ -105,11 +107,11 @@ PODS: - HMSSDK (= 1.1.0) - HMSWebRTC (1.0.5116) - MTBBarcodeScanner (5.0.11) - - nanopb (2.30909.0): - - nanopb/decode (= 2.30909.0) - - nanopb/encode (= 2.30909.0) - - nanopb/decode (2.30909.0) - - nanopb/encode (2.30909.0) + - nanopb (2.30909.1): + - nanopb/decode (= 2.30909.1) + - nanopb/encode (= 2.30909.1) + - nanopb/decode (2.30909.1) + - nanopb/encode (2.30909.1) - package_info_plus (0.4.5): - Flutter - path_provider_foundation (0.0.1): @@ -164,6 +166,7 @@ SPEC REPOS: - FirebasePerformance - FirebaseRemoteConfig - FirebaseSessions + - FirebaseSharedSwift - GoogleDataTransport - GoogleUtilities - HMSAnalyticsSDK @@ -214,20 +217,21 @@ SPEC CHECKSUMS: firebase_crashlytics: 9b80d1944507cc07fa1c4455797f7d2eb7c8873f firebase_dynamic_links: db9f2ebcc3ea646e76a1d3ee37e9e57890ff0a83 firebase_performance: d11d1fd9591547f6b75f325aaadd6550eaf7e090 - FirebaseABTesting: 03f0a8b88cf618350527f2c6a2234e29b9c65064 + FirebaseABTesting: 609e15b57b5f1096c8feb984e8995d9e769858fe FirebaseCore: b68d3616526ec02e4d155166bbafb8eca64af557 - FirebaseCoreExtension: 2dbc745b337eb99d2026a7a309ae037bd873f45e - FirebaseCoreInternal: 26233f705cc4531236818a07ac84d20c333e505a + FirebaseCoreExtension: 47720bb330d7041047c0935a34a3a4b92f818074 + FirebaseCoreInternal: 2cf9202e226e3f78d2bf6d56c472686b935bfb7f FirebaseCrashlytics: b60329455285aff853e54139d8ddbfe1e5f2b9f9 FirebaseDynamicLinks: 8cb66c4f403aa6ddf86ff3bc3c383a652f344ce9 - FirebaseInstallations: b822f91a61f7d1ba763e5ccc9d4f2e6f2ed3b3ee + FirebaseInstallations: 9387bf15abfc69a714f54e54f74a251264fdb79b FirebasePerformance: eee2f5da94fd7e5d15487649f8fe10a90c87c174 - FirebaseRemoteConfig: 17ec974c6cac5cdc6cf8297062c2219851857f06 - FirebaseSessions: 96e7781e545929cde06dd91088ddbb0841391b43 + FirebaseRemoteConfig: 94ab72cd7aa865b6226ee527b1fa5c4f961a4e7b + FirebaseSessions: 49f39e5c10e3f9fdd38d01b748329bae2a2fa8ed + FirebaseSharedSwift: e8fe8d63d434266a1b2c7f02807d5b64462e1851 Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2 - GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084 + GoogleUtilities: 202e7a9f5128accd11160fb9c19612de1911aa19 HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 @@ -235,7 +239,7 @@ SPEC CHECKSUMS: hmssdk_flutter: 6c69bfe89445350e9cd8d1c37a72808aedfbdf02 HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb - nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431 + nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85 path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 @@ -245,7 +249,7 @@ SPEC CHECKSUMS: share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5 shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126 uni_links: d97da20c7701486ba192624d99bffaaffcfc298a - url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4 + url_launcher_ios: 68d46cc9766d0c41dbdc884310529557e3cd7a86 PODFILE CHECKSUM: 919064996fff867cd85dbf9e7730ff45bac23884 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 981b03853..799ca3d6a 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: transitive description: name: archive - sha256: "7e0d52067d05f2e0324268097ba723b71cb41ac8a6a2b24d1edf9c536b987b03" + sha256: "0da817eab9833cc222ee5575789664e99f60fe0c554be55dc1979f9b4ec6dd73" url: "https://pub.dev" source: hosted - version: "3.4.6" + version: "3.4.8" args: dependency: transitive description: @@ -258,10 +258,10 @@ packages: dependency: transitive description: name: flutter_svg - sha256: "8c5d68a82add3ca76d792f058b186a0599414f279f00ece4830b9b231b570338" + sha256: d39e7f95621fc84376bc0f7d504f05c3a41488c562f4a8ad410569127507402c url: "https://pub.dev" source: hosted - version: "2.0.7" + version: "2.0.9" flutter_test: dependency: "direct dev" description: flutter @@ -347,10 +347,10 @@ packages: dependency: transitive description: name: lottie - sha256: b8bdd54b488c54068c57d41ae85d02808da09e2bee8b8dd1f59f441e7efa60cd + sha256: a93542cc2d60a7057255405f62252533f8e8956e7e06754955669fd32fb4b216 url: "https://pub.dev" source: hosted - version: "2.6.0" + version: "2.7.0" matcher: dependency: transitive description: @@ -435,10 +435,10 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "6b8b19bd80da4f11ce91b2d1fb931f3006911477cec227cce23d3253d80df3f1" + sha256: e595b98692943b4881b219f0a9e3945118d3c16bd7e2813f98ec6e532d905f72 url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.2.1" path_provider_foundation: dependency: transitive description: @@ -736,66 +736,66 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: "47e208a6711459d813ba18af120d9663c20bdf6985d6ad39fe165d2538378d27" + sha256: b1c9e98774adf8820c96fbc7ae3601231d324a7d5ebd8babe27b6dfac91357ba url: "https://pub.dev" source: hosted - version: "6.1.14" + version: "6.2.1" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: b04af59516ab45762b2ca6da40fa830d72d0f6045cd97744450b73493fa76330 + sha256: "31222ffb0063171b526d3e569079cf1f8b294075ba323443fdc690842bfd4def" url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.2.0" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "7c65021d5dee51813d652357bc65b8dd4a6177082a9966bc8ba6ee477baa795f" + sha256: "4ac97281cf60e2e8c5cc703b2b28528f9b50c8f7cebc71df6bdf0845f647268a" url: "https://pub.dev" source: hosted - version: "6.1.5" + version: "6.2.0" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: b651aad005e0cb06a01dbd84b428a301916dc75f0e7ea6165f80057fee2d8e8e + sha256: "9f2d390e096fdbe1e6e6256f97851e51afc2d9c423d3432f1d6a02a8a9a8b9fd" url: "https://pub.dev" source: hosted - version: "3.0.6" + version: "3.1.0" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: b55486791f666e62e0e8ff825e58a023fd6b1f71c49926483f1128d3bbd8fe88 + sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234 url: "https://pub.dev" source: hosted - version: "3.0.7" + version: "3.1.0" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "95465b39f83bfe95fcb9d174829d6476216f2d548b79c38ab2506e0458787618" + sha256: "980e8d9af422f477be6948bdfb68df8433be71f5743a188968b0c1b887807e50" url: "https://pub.dev" source: hosted - version: "2.1.5" + version: "2.2.0" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "2942294a500b4fa0b918685aff406773ba0a4cd34b7f42198742a94083020ce5" + sha256: "7fd2f55fe86cea2897b963e864dc01a7eb0719ecc65fcef4c1cc3d686d718bb2" url: "https://pub.dev" source: hosted - version: "2.0.20" + version: "2.2.0" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "95fef3129dc7cfaba2bc3d5ba2e16063bb561fc6d78e63eee16162bc70029069" + sha256: "7754a1ad30ee896b265f8d14078b0513a4dba28d358eabb9d5f339886f4a1adc" url: "https://pub.dev" source: hosted - version: "3.0.8" + version: "3.1.0" uuid: dependency: transitive description: @@ -808,26 +808,26 @@ packages: dependency: transitive description: name: vector_graphics - sha256: b16dadf7eb610e20da044c141b4a0199a5e8082ca21daba68322756f953ce714 + sha256: "0f0c746dd2d6254a0057218ff980fc7f5670fd0fcf5e4db38a490d31eed4ad43" url: "https://pub.dev" source: hosted - version: "1.1.9" + version: "1.1.9+1" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: a4b01403d5c613db115e30e71eca33f7e9e09f2d3c52c3fb84e16333ecddc539 + sha256: "0edf6d630d1bfd5589114138ed8fada3234deacc37966bec033d3047c29248b7" url: "https://pub.dev" source: hosted - version: "1.1.9" + version: "1.1.9+1" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: d26c0e2f237476426523eb25512e4c09fa27c6d33ed659a0e69d79e20b5dc47f + sha256: d24333727332d9bd20990f1483af4e09abdb9b1fc7c3db940b56ab5c42790c26 url: "https://pub.dev" source: hosted - version: "1.1.9" + version: "1.1.9+1" vector_math: dependency: transitive description: From d1361fc036f53f219ac6a945d02af19628524257 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Mon, 6 Nov 2023 13:04:05 +0530 Subject: [PATCH 03/40] Sdk/enable hardware echo cancellation (#1625) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added release notes * Enabled hardware echo cancellation by default * released sample app version 1.5.84 (384) 🍀 --- .../live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt | 2 -- packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 2 ++ packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt index e222dffb8..d93e9c80f 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt @@ -28,8 +28,6 @@ class HMSTrackSettingsExtension { hmsVideoTrackHashMap: HashMap?, ): HMSTrackSettings { var hmsAudioTrackSettings = HMSAudioTrackSettings.Builder() - - hmsAudioTrackSettings.setUseHardwareAcousticEchoCanceler(false) hmsAudioTrackSettings.setPhoneCallMuteState(PhoneCallState.DISABLE_MUTE_ON_VOIP_PHONE_CALL_RING) hmsAudioTrackHashMap?.let { audioHashMap -> diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 9c8d39a7d..2b0565038 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -12,6 +12,8 @@ The application is crashing while joining a room with server recording ON Unable to hide header and footer - https://100ms.atlassian.net/browse/FLUT-44 +- Enabled hardware echo cancellation on android devices + Room Kit: 1.0.3 Core SDK: 1.9.1 Android SDK: 2.7.9 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index e2feec773..595d12ddb 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 383 - versionName "1.5.83" + versionCode 384 + versionName "1.5.84" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 2f28b3b49..85831235c 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.83 + 1.5.84 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 383 + 384 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 01231a0d34b51b36bf2bdf36322cb6430cef0611 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:32:46 +0530 Subject: [PATCH 04/40] Updated changelog (#1627) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated changelog * released sample app version 1.5.85 (385) 🍀 --- .../example/ExampleAppChangelog.txt | 23 ++++++++----------- .../example/android/app/build.gradle | 4 ++-- .../hmssdk_flutter/example/ios/Podfile.lock | 2 +- .../example/ios/Runner/Info.plist | 4 ++-- 4 files changed, 14 insertions(+), 19 deletions(-) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 2b0565038..68999af31 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -1,20 +1,15 @@ Board: https://100ms.atlassian.net/jira/software/projects/FLUT/boards/34/ -Disabled chat from the dashboard but can see chat cta and send message -- https://100ms.atlassian.net/browse/FLUT-97 +Implement sending of Subscriber Stats +- https://100ms.atlassian.net/browse/FLUT-134 -Disconnect error message in toast -- https://100ms.atlassian.net/browse/FLUT-136 +Upgrade Android SDK to fix Auto simulcast issue in HmsVideoView +- https://100ms.atlassian.net/browse/FLUT-145 -The application is crashing while joining a room with server recording ON -- https://100ms.atlassian.net/browse/FLUT-138 +Remove default usage of Software Echo Cancellation +- https://100ms.atlassian.net/browse/FLUT-146 -Unable to hide header and footer -- https://100ms.atlassian.net/browse/FLUT-44 - -- Enabled hardware echo cancellation on android devices - Room Kit: 1.0.3 -Core SDK: 1.9.1 -Android SDK: 2.7.9 -iOS SDK: 1.1.0 +Core SDK: 1.9.2 +Android SDK: 2.8.0 +iOS SDK: 1.2.0 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 595d12ddb..bb500a665 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 384 - versionName "1.5.84" + versionCode 385 + versionName "1.5.85" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index ff9ae946b..5b410b053 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -253,4 +253,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 919064996fff867cd85dbf9e7730ff45bac23884 -COCOAPODS: 1.14.2 +COCOAPODS: 1.13.0 diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 85831235c..ad92ddbd5 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.84 + 1.5.85 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 384 + 385 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 1b77993c61aac7ec323fd1e27b9123978abbf264 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:02:33 +0530 Subject: [PATCH 05/40] Fixed meeting link to save complete link instead of roomcode (#1631) --- packages/hms_room_kit/lib/src/meeting/meeting_store.dart | 1 - packages/hms_room_kit/lib/src/preview/preview_store.dart | 1 - packages/hmssdk_flutter/example/lib/main.dart | 2 ++ 3 files changed, 2 insertions(+), 2 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 151fc3255..bd5b42118 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -825,7 +825,6 @@ class MeetingStore extends ChangeNotifier roles.removeWhere((element) => element.name == "__internal_recorder"); setParticipantsList(roles); } - Utilities.saveStringData(key: "meetingLink", value: meetingUrl); getCurrentAudioDevice(); getAudioDevicesList(); notifyListeners(); 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 594723366..637b13bbe 100644 --- a/packages/hms_room_kit/lib/src/preview/preview_store.dart +++ b/packages/hms_room_kit/lib/src/preview/preview_store.dart @@ -100,7 +100,6 @@ class PreviewStore extends ChangeNotifier } } this.localTracks = videoTracks; - Utilities.saveStringData(key: "meetingLink", value: meetingUrl); getRoles(); getCurrentAudioDevice(); getAudioDevicesList(); diff --git a/packages/hmssdk_flutter/example/lib/main.dart b/packages/hmssdk_flutter/example/lib/main.dart index 7f7ae1c85..0df8f58a6 100644 --- a/packages/hmssdk_flutter/example/lib/main.dart +++ b/packages/hmssdk_flutter/example/lib/main.dart @@ -301,6 +301,8 @@ class _HomePageState extends State { Constant.roomCode = meetingLinkController.text.trim(); } + Utilities.saveStringData( + key: "meetingLink", value: meetingLinkController.text.trim()); FocusManager.instance.primaryFocus?.unfocus(); Navigator.push( context, From 81e78a5cb5edddc0b35baa4609eee5b04b8d6fb5 Mon Sep 17 00:00:00 2001 From: ygit Date: Wed, 8 Nov 2023 12:03:37 +0530 Subject: [PATCH 06/40] Update build.yml --- .github/workflows/build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d1128384..d7d33ee9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,8 +19,6 @@ on: branches: - main - develop - paths: - - "**/*.dart" paths-ignore: - "**.md" - doc/** From f2b1db7c5b3da4cd57eeb8ba78515cae7c2e067c Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:28:10 +0530 Subject: [PATCH 07/40] FLUT-144/Fix-datetime-formatting (#1630) * updated parsing * Added date time handling for android * Fixed datetime bug * Update HMSPeer object * Added suggested changes --------- Co-authored-by: Yogesh Singh --- packages/hms_room_kit/example/pubspec.lock | 9 ++- packages/hms_room_kit/pubspec.lock | 9 ++- packages/hms_room_kit/pubspec.yaml | 3 +- .../hms/hmssdk_flutter/HMSPeerExtension.kt | 2 +- .../hmssdk_flutter/example/ios/Podfile.lock | 10 ++-- packages/hmssdk_flutter/example/pubspec.lock | 9 ++- .../ios/Classes/Models/HMSPeerExtension.swift | 4 +- .../lib/src/model/hls_player/hms_hls_cue.dart | 4 +- .../model/hms_browser_recording_state.dart | 2 +- .../lib/src/model/hms_date_extension.dart | 19 +++++- .../src/model/hms_hls_recording_state.dart | 2 +- .../lib/src/model/hms_hls_variant.dart | 2 +- .../lib/src/model/hms_local_peer.dart | 4 +- .../lib/src/model/hms_message.dart | 2 +- .../lib/src/model/hms_peer.dart | 59 +------------------ .../lib/src/model/hms_remote_peer.dart | 5 +- .../src/model/hms_rtmp_streaming_state.dart | 2 +- .../src/model/hms_server_recording_state.dart | 2 +- 18 files changed, 55 insertions(+), 94 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 455b8c191..5edf2abf8 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -226,11 +226,10 @@ packages: hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: "370556fc44ccb950508f9ec67a47285fd901fc2ecce7d0008f0a25e8bbd08389" - url: "https://pub.dev" - source: hosted - version: "1.9.1" + path: "../../hmssdk_flutter" + relative: true + source: path + version: "1.9.2" http: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 59e3bfb1b..d09df5623 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -211,11 +211,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - name: hmssdk_flutter - sha256: "370556fc44ccb950508f9ec67a47285fd901fc2ecce7d0008f0a25e8bbd08389" - url: "https://pub.dev" - source: hosted - version: "1.9.1" + path: "../hmssdk_flutter" + relative: true + source: path + version: "1.9.2" http: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index e60f9f614..be93dd171 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -14,7 +14,8 @@ dependencies: flutter: sdk: flutter - hmssdk_flutter: ^1.9.1 + hmssdk_flutter: + path: ../hmssdk_flutter intl: ^0.18.1 permission_handler: ^11.0.0 provider: ^6.0.5 diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt index 60dbae826..68ad7efb6 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt @@ -20,7 +20,7 @@ class HMSPeerExtension { args["audio_track"] = HMSTrackExtension.toDictionary(peer.audioTrack) args["video_track"] = HMSTrackExtension.toDictionary(peer.videoTrack) args["network_quality"] = HMSNetworkQualityExtension.toDictionary(peer.networkQuality) - args["joined_at"] = SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(peer.joinedAt).toString() + args["joined_at"] = peer.joinedAt val auxTrackList = ArrayList() peer.auxiliaryTracks.forEach { diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 5b410b053..d0b5acc72 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -97,14 +97,14 @@ PODS: - HMSBroadcastExtensionSDK (0.0.9) - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - - HMSSDK (1.1.0): + - HMSSDK (1.2.0): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.5116) - - hmssdk_flutter (1.9.1): + - hmssdk_flutter (1.9.2): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - - HMSSDK (= 1.1.0) + - HMSSDK (= 1.2.0) - HMSWebRTC (1.0.5116) - MTBBarcodeScanner (5.0.11) - nanopb (2.30909.1): @@ -235,8 +235,8 @@ SPEC CHECKSUMS: HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 - HMSSDK: 49e3ac665ceb8904d41787ddf99742e8d7d6529a - hmssdk_flutter: 6c69bfe89445350e9cd8d1c37a72808aedfbdf02 + HMSSDK: 010fdd904b8d221bb297864800503132fd721d9e + hmssdk_flutter: 1d4cfbb745095ebf399eaf533b6cde0c2006d6e1 HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 799ca3d6a..b3df1103a 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -298,11 +298,10 @@ packages: hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: "370556fc44ccb950508f9ec67a47285fd901fc2ecce7d0008f0a25e8bbd08389" - url: "https://pub.dev" - source: hosted - version: "1.9.1" + path: ".." + relative: true + source: path + version: "1.9.2" http: dependency: transitive description: diff --git a/packages/hmssdk_flutter/ios/Classes/Models/HMSPeerExtension.swift b/packages/hmssdk_flutter/ios/Classes/Models/HMSPeerExtension.swift index 556cb731d..873ddf980 100644 --- a/packages/hmssdk_flutter/ios/Classes/Models/HMSPeerExtension.swift +++ b/packages/hmssdk_flutter/ios/Classes/Models/HMSPeerExtension.swift @@ -19,8 +19,8 @@ class HMSPeerExtension { "is_hand_raised": peer.isHandRaised, "customer_description": peer.metadata ?? "", "customer_user_id": peer.customerUserID ?? "", - "joined_at": "\(peer.joinedAt)", - "updated_at": "\(peer.updatedAt)" + "joined_at": Int(peer.joinedAt.timeIntervalSince1970 * 1000), + "updated_at": Int(peer.updatedAt.timeIntervalSince1970 * 1000) ] as [String: Any] if let metadata = peer.metadata { diff --git a/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart b/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart index c007ef9b9..1ffd1408f 100644 --- a/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart +++ b/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart @@ -22,10 +22,10 @@ class HMSHLSCue { factory HMSHLSCue.fromMap(Map map) { return HMSHLSCue( - startDate: HMSDateExtension.convertDate(map["start_date"]), + startDate: HMSDateExtension.convertDateFromString(map["start_date"]), endDate: map["end_date"] == null ? null - : HMSDateExtension.convertDate(map["end_date"]), + : HMSDateExtension.convertDateFromString(map["end_date"]), id: map["id"], payload: map["payload"]); } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_browser_recording_state.dart b/packages/hmssdk_flutter/lib/src/model/hms_browser_recording_state.dart index b67463262..eab39848f 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_browser_recording_state.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_browser_recording_state.dart @@ -21,7 +21,7 @@ class HMSBrowserRecordingState { error: map["error"] != null ? HMSException.fromMap(map) : null, running: map['running'], startedAt: map['started_at'] != null - ? HMSDateExtension.convertDate(map['started_at']) + ? HMSDateExtension.convertDateFromString(map['started_at']) : null, initialising: map['initialising']); } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart b/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart index 0e9a423f1..caf3f96c0 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart @@ -2,9 +2,26 @@ /// ///[HMSDateExtension] is used to convert android and ios native time format to DateTime type ///in local time zone format. + +///Dart imports +import 'dart:developer'; + class HMSDateExtension { - static DateTime convertDate(String date) { + ///Returns DateTime object from String + static DateTime convertDateFromString(String date) { DateTime _dateTime = DateTime.parse(date).toLocal(); return _dateTime; } + + ///Returns optional DateTime object from epoch in milliseconds + static DateTime? convertDateFromEpoch(int date) { + try { + DateTime _dateTime = + DateTime.fromMillisecondsSinceEpoch(date, isUtc: false); + return _dateTime; + } catch (e) { + log(e.toString()); + } + return null; + } } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_hls_recording_state.dart b/packages/hmssdk_flutter/lib/src/model/hms_hls_recording_state.dart index a82e01fe5..840647dca 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_hls_recording_state.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_hls_recording_state.dart @@ -19,7 +19,7 @@ class HMSHLSRecordingState { : null, running: map['running'], startedAt: map['started_at'] != null - ? HMSDateExtension.convertDate(map['started_at']) + ? HMSDateExtension.convertDateFromString(map['started_at']) : null); } } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_hls_variant.dart b/packages/hmssdk_flutter/lib/src/model/hms_hls_variant.dart index 44a0bd4ae..d875b9f06 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_hls_variant.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_hls_variant.dart @@ -38,7 +38,7 @@ class HMSHLSVariant { meetingUrl: map['meeting_url'] as String?, metadata: map['metadata'] as String?, startedAt: map['started_at'] != null - ? HMSDateExtension.convertDate(map['started_at']) + ? HMSDateExtension.convertDateFromString(map['started_at']) : null, ); } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_local_peer.dart b/packages/hmssdk_flutter/lib/src/model/hms_local_peer.dart index 0f7276c25..59957cf29 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_local_peer.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_local_peer.dart @@ -62,10 +62,10 @@ class HMSLocalPeer extends HMSPeer { ? HMSNetworkQuality.fromMap(map["network_quality"]) : null, joinedAt: map.containsKey("joined_at") - ? HMSDateExtension.convertDate(map["joined_at"]) + ? HMSDateExtension.convertDateFromEpoch(map["joined_at"]) : null, updatedAt: map.containsKey("updated_at") - ? HMSDateExtension.convertDate(map["updated_at"]) + ? HMSDateExtension.convertDateFromEpoch(map["updated_at"]) : null, ); } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_message.dart b/packages/hmssdk_flutter/lib/src/model/hms_message.dart index 4cb69fb37..a7093063b 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_message.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_message.dart @@ -56,7 +56,7 @@ class HMSMessage { sender: sender, message: messageMap['message'] as String, type: messageMap['type'] as String, - time: HMSDateExtension.convertDate(messageMap['time']), + time: HMSDateExtension.convertDateFromString(messageMap['time']), hmsMessageRecipient: recipient); } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_peer.dart b/packages/hmssdk_flutter/lib/src/model/hms_peer.dart index 0fa5c7719..d1eb9a1ac 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_peer.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_peer.dart @@ -1,6 +1,5 @@ // Project imports: import 'package:hmssdk_flutter/hmssdk_flutter.dart'; -import 'package:hmssdk_flutter/src/model/hms_date_extension.dart'; import 'package:hmssdk_flutter/src/service/platform_service.dart'; ///100ms HMSPeer. @@ -80,61 +79,9 @@ class HMSPeer { int get hashCode => peerId.hashCode; factory HMSPeer.fromMap(Map map) { - HMSRole role = HMSRole.fromMap(map['role']); - - // TODO: add auxiliary tracks - - HMSPeer peer = (map['is_local'] == true) - ? HMSLocalPeer( - peerId: map['peer_id'], - name: map['name'], - isLocal: map['is_local'], - isHandRaised: map['is_hand_raised'], - role: role, - metadata: map['metadata'], - customerUserId: map['customer_user_id'], - networkQuality: map['network_quality'] == null - ? null - : HMSNetworkQuality.fromMap( - map['network_quality'], - ), - joinedAt: map.containsKey("joined_at") - ? HMSDateExtension.convertDate(map["joined_at"]) - : null, - updatedAt: map.containsKey("updated_at") - ? HMSDateExtension.convertDate(map["updated_at"]) - : null, - ) - : HMSRemotePeer( - peerId: map['peer_id'], - name: map['name'], - isLocal: map['is_local'], - isHandRaised: map['is_hand_raised'], - role: role, - metadata: map['metadata'], - customerUserId: map['customer_user_id'], - networkQuality: map['network_quality'] == null - ? null - : HMSNetworkQuality.fromMap(map['network_quality']), - joinedAt: map.containsKey("joined_at") - ? HMSDateExtension.convertDate(map["joined_at"]) - : null, - updatedAt: map.containsKey("updated_at") - ? HMSDateExtension.convertDate(map["updated_at"]) - : null, - ); - - if (map['audio_track'] != null) { - peer.audioTrack = HMSAudioTrack.fromMap( - map: map['audio_track']!, isLocal: peer.isLocal); - } - - if (map['video_track'] != null) { - peer.videoTrack = HMSVideoTrack.fromMap( - map: map['video_track']!, isLocal: peer.isLocal); - } - - return peer; + return (map['is_local'] == true) + ? HMSLocalPeer.fromMap(map) + : HMSRemotePeer.fromMap(map); } @override diff --git a/packages/hmssdk_flutter/lib/src/model/hms_remote_peer.dart b/packages/hmssdk_flutter/lib/src/model/hms_remote_peer.dart index 8f22b400b..b820c6f0b 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_remote_peer.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_remote_peer.dart @@ -63,7 +63,6 @@ class HMSRemotePeer extends HMSPeer { factory HMSRemotePeer.fromMap(Map map) { HMSRole role = HMSRole.fromMap(map['role']); - // TODO: add auxiliary tracks HMSRemotePeer peer = HMSRemotePeer( peerId: map['peer_id'], name: map['name'], @@ -76,10 +75,10 @@ class HMSRemotePeer extends HMSPeer { ? HMSNetworkQuality.fromMap(map["network_quality"]) : null, joinedAt: map.containsKey("joined_at") - ? HMSDateExtension.convertDate(map["joined_at"]) + ? HMSDateExtension.convertDateFromEpoch(map["joined_at"]) : null, updatedAt: map.containsKey("updated_at") - ? HMSDateExtension.convertDate(map["updated_at"]) + ? HMSDateExtension.convertDateFromEpoch(map["updated_at"]) : null, ); diff --git a/packages/hmssdk_flutter/lib/src/model/hms_rtmp_streaming_state.dart b/packages/hmssdk_flutter/lib/src/model/hms_rtmp_streaming_state.dart index 6b3d72baf..65b46dc8e 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_rtmp_streaming_state.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_rtmp_streaming_state.dart @@ -17,7 +17,7 @@ class HMSRtmpStreamingState { error: map["error"] != null ? HMSException.fromMap(map) : null, running: map['running'], startedAt: map['started_at'] != null - ? HMSDateExtension.convertDate(map['started_at']) + ? HMSDateExtension.convertDateFromString(map['started_at']) : null); } } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_server_recording_state.dart b/packages/hmssdk_flutter/lib/src/model/hms_server_recording_state.dart index fe051c427..127bd0c24 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_server_recording_state.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_server_recording_state.dart @@ -18,7 +18,7 @@ class HMSServerRecordingState { error: map["error"] != null ? HMSException.fromMap(map) : null, running: map['running'], startedAt: map['started_at'] != null - ? HMSDateExtension.convertDate(map['started_at']) + ? HMSDateExtension.convertDateFromString(map['started_at']) : null); } } From e0ed85627c680c2e1285e121499722dc99b7e794 Mon Sep 17 00:00:00 2001 From: ygit Date: Wed, 8 Nov 2023 12:35:42 +0530 Subject: [PATCH 08/40] Update build.yml --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d1128384..237ee81e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,6 +48,9 @@ jobs: - name: Get Flutter dependencies in Core SDK run: flutter pub get working-directory: packages/hmssdk_flutter + - name: Get Flutter dependencies in Core SDK + run: flutter pub get + working-directory: packages/hms_room_kit - name: Dart Format run: dart format . - name: Dart Fix From 2ebc2e6e6197b0f5d3d4762c524231e50dff45ca Mon Sep 17 00:00:00 2001 From: ygit Date: Wed, 8 Nov 2023 12:36:54 +0530 Subject: [PATCH 09/40] Update build.yml --- .github/workflows/build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 237ee81e8..17876b4ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,8 +19,6 @@ on: branches: - main - develop - paths: - - "**/*.dart" paths-ignore: - "**.md" - doc/** From b55453ec10cd3a9df23b8954c603668bb215f2a2 Mon Sep 17 00:00:00 2001 From: ygit Date: Wed, 8 Nov 2023 12:39:40 +0530 Subject: [PATCH 10/40] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17876b4ef..3e13571f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: - name: Get Flutter dependencies in Core SDK run: flutter pub get working-directory: packages/hmssdk_flutter - - name: Get Flutter dependencies in Core SDK + - name: Get Flutter dependencies in Room Kit run: flutter pub get working-directory: packages/hms_room_kit - name: Dart Format From be56cf983e69ad0c34651e884d701c8cbc8c6794 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Wed, 8 Nov 2023 12:45:04 +0530 Subject: [PATCH 11/40] Fixed trunk issues --- packages/hmssdk_flutter/example/lib/main.dart | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/packages/hmssdk_flutter/example/lib/main.dart b/packages/hmssdk_flutter/example/lib/main.dart index 0df8f58a6..965060380 100644 --- a/packages/hmssdk_flutter/example/lib/main.dart +++ b/packages/hmssdk_flutter/example/lib/main.dart @@ -60,8 +60,6 @@ class HMSExampleApp extends StatefulWidget { class _HMSExampleAppState extends State { ThemeMode _themeMode = ThemeMode.dark; Uri? _currentURI; - bool isDarkMode = - WidgetsBinding.instance.window.platformBrightness == Brightness.dark; ThemeData _darkTheme = ThemeData( bottomSheetTheme: BottomSheetThemeData( @@ -90,7 +88,6 @@ class _HMSExampleAppState extends State { _initURIHandler(); _incomingLinkHandler(); initDynamicLinks(); - setThemeMode(); } Future _initURIHandler() async { @@ -167,15 +164,6 @@ class _HMSExampleAppState extends State { } } - void setThemeMode() async { - _themeMode = await Utilities.getBoolData(key: "dark-mode") ?? true - ? ThemeMode.dark - : ThemeMode.light; - if (_themeMode == ThemeMode.light) { - changeTheme(_themeMode); - } - } - @override void dispose() { _streamSubscription?.cancel(); @@ -194,13 +182,6 @@ class _HMSExampleAppState extends State { ); } - void changeTheme(ThemeMode themeMode) { - setState(() { - _themeMode = themeMode; - isDarkMode = themeMode == ThemeMode.dark; - updateColor(_themeMode); - }); - } } class HomePage extends StatefulWidget { From 7c3ed49838eb2a8ea00e17577da79be54cd97a10 Mon Sep 17 00:00:00 2001 From: ygit Date: Wed, 8 Nov 2023 13:03:44 +0530 Subject: [PATCH 12/40] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e13571f1..ab5767402 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: working-directory: packages/hmssdk_flutter - name: Get Flutter dependencies in Room Kit run: flutter pub get - working-directory: packages/hms_room_kit + working-directory: packages/hms_room_kit/example - name: Dart Format run: dart format . - name: Dart Fix From 4200bb2854ac5978d125e60f748709a9915dbee1 Mon Sep 17 00:00:00 2001 From: ygit Date: Wed, 8 Nov 2023 13:13:04 +0530 Subject: [PATCH 13/40] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab5767402..3e13571f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: working-directory: packages/hmssdk_flutter - name: Get Flutter dependencies in Room Kit run: flutter pub get - working-directory: packages/hms_room_kit/example + working-directory: packages/hms_room_kit - name: Dart Format run: dart format . - name: Dart Fix From 4ac7454a324daa8b82efb41127b126dd36d39675 Mon Sep 17 00:00:00 2001 From: ygit Date: Wed, 8 Nov 2023 13:17:54 +0530 Subject: [PATCH 14/40] Update build.yml --- .github/workflows/build.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e13571f1..8b012f029 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,9 +46,6 @@ jobs: - name: Get Flutter dependencies in Core SDK run: flutter pub get working-directory: packages/hmssdk_flutter - - name: Get Flutter dependencies in Room Kit - run: flutter pub get - working-directory: packages/hms_room_kit - name: Dart Format run: dart format . - name: Dart Fix @@ -57,10 +54,6 @@ jobs: uses: invertase/github-action-dart-analyzer@v1 with: working-directory: packages/hmssdk_flutter - - name: Flutter Analyze in Room Kit - uses: invertase/github-action-dart-analyzer@v1 - with: - working-directory: packages/hms_room_kit - name: Commit and Push changes uses: stefanzweifel/git-auto-commit-action@v5 with: From 71170e64d411e69816f5bcffaadcb2254653f9e1 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Wed, 8 Nov 2023 13:25:05 +0530 Subject: [PATCH 15/40] FLUT-148: Removed setVolume call on foreground callback (#1629) * Removed setVolume call on foreground callback * Updated changelog --- .../hms_room_kit/lib/src/meeting/meeting_store.dart | 12 ------------ .../hmssdk_flutter/example/ExampleAppChangelog.txt | 3 +++ .../hmssdk_flutter/example/android/app/build.gradle | 4 ++-- .../hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 4 files changed, 7 insertions(+), 16 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 bd5b42118..d5e2bfc43 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -2237,18 +2237,6 @@ class MeetingStore extends ChangeNotifier lastVideoStatus = false; } - List? peersList = await getPeers(); - - peersList?.forEach((element) { - if (!element.isLocal && (Platform.isAndroid)) { - (element.audioTrack as HMSRemoteAudioTrack?)?.setVolume(10.0); - element.auxiliaryTracks?.forEach((element) { - if (element.kind == HMSTrackKind.kHMSTrackKindAudio) { - (element as HMSRemoteAudioTrack?)?.setVolume(10.0); - } - }); - } - }); } else if (state == AppLifecycleState.paused) { HMSLocalPeer? localPeer = await getLocalPeer(); if (localPeer != null && diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 68999af31..d87349463 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -9,6 +9,9 @@ Upgrade Android SDK to fix Auto simulcast issue in HmsVideoView Remove default usage of Software Echo Cancellation - https://100ms.atlassian.net/browse/FLUT-146 +Post call interruption fix +- https://100ms.atlassian.net/browse/FLUT-143 + Room Kit: 1.0.3 Core SDK: 1.9.2 Android SDK: 2.8.0 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index bb500a665..2069d818c 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 385 - versionName "1.5.85" + versionCode 386 + versionName "1.5.86" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index ad92ddbd5..d564cb5bd 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.85 + 1.5.86 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 385 + 386 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From be57959e5944d4e72798e4e5345d74021b322bb0 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Wed, 8 Nov 2023 08:21:28 +0000 Subject: [PATCH 16/40] =?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/hms_room_kit/lib/src/meeting/meeting_store.dart | 1 - 1 file changed, 1 deletion(-) 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 d5e2bfc43..90652c18a 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -2236,7 +2236,6 @@ class MeetingStore extends ChangeNotifier toggleCameraMuteState(); lastVideoStatus = false; } - } else if (state == AppLifecycleState.paused) { HMSLocalPeer? localPeer = await getLocalPeer(); if (localPeer != null && From 717f4eb7c5970d838d0d41ed47ed967ef7af9184 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Wed, 8 Nov 2023 08:22:27 +0000 Subject: [PATCH 17/40] =?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/hms_room_kit/lib/src/meeting/meeting_store.dart | 1 - packages/hmssdk_flutter/example/lib/main.dart | 1 - 2 files changed, 2 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 d5e2bfc43..90652c18a 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -2236,7 +2236,6 @@ class MeetingStore extends ChangeNotifier toggleCameraMuteState(); lastVideoStatus = false; } - } else if (state == AppLifecycleState.paused) { HMSLocalPeer? localPeer = await getLocalPeer(); if (localPeer != null && diff --git a/packages/hmssdk_flutter/example/lib/main.dart b/packages/hmssdk_flutter/example/lib/main.dart index 965060380..7cdf8690f 100644 --- a/packages/hmssdk_flutter/example/lib/main.dart +++ b/packages/hmssdk_flutter/example/lib/main.dart @@ -181,7 +181,6 @@ class _HMSExampleAppState extends State { themeMode: _themeMode, ); } - } class HomePage extends StatefulWidget { From 641b26173bce2e285c965b7d6cdbac0e6efef963 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Wed, 8 Nov 2023 14:00:47 +0530 Subject: [PATCH 18/40] Updated changelog --- packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index d87349463..90e1d4260 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -12,6 +12,12 @@ Remove default usage of Software Echo Cancellation Post call interruption fix - https://100ms.atlassian.net/browse/FLUT-143 +Persist Room meeting link after successfully joining the Room +- https://100ms.atlassian.net/browse/FLUT-147 + +Incorrect DateTime format on iOS prevents the user from Joining a Room +- https://100ms.atlassian.net/browse/FLUT-144 + Room Kit: 1.0.3 Core SDK: 1.9.2 Android SDK: 2.8.0 From 70c459b3d1f72c1bdd1da79d367e009ca667b7f1 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Wed, 8 Nov 2023 15:00:02 +0530 Subject: [PATCH 19/40] =?UTF-8?q?released=20sample=20app=20version=201.5.8?= =?UTF-8?q?7=20(387)=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 2069d818c..10598e54f 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 386 - versionName "1.5.86" + versionCode 387 + versionName "1.5.87" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index d564cb5bd..424588305 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.86 + 1.5.87 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 386 + 387 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From f6b91fae941e9efe53bc29e7dae25c17fb2076dc Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Wed, 8 Nov 2023 19:50:32 +0530 Subject: [PATCH 20/40] Flut 152/handle logourl error (#1636) * Added error builder in case logo url returns error * Lint fixes --- .../lib/src/hls_viewer/hls_viewer_header.dart | 8 ++++++++ .../hms_room_kit/lib/src/meeting/meeting_header.dart | 8 ++++++++ .../hms_room_kit/lib/src/preview/preview_header.dart | 8 ++++++++ .../src/preview_for_role/preview_for_role_header.dart | 10 ++++++++++ 4 files changed, 34 insertions(+) diff --git a/packages/hms_room_kit/lib/src/hls_viewer/hls_viewer_header.dart b/packages/hms_room_kit/lib/src/hls_viewer/hls_viewer_header.dart index 6f9e42d6b..33d8f8a5f 100644 --- a/packages/hms_room_kit/lib/src/hls_viewer/hls_viewer_header.dart +++ b/packages/hms_room_kit/lib/src/hls_viewer/hls_viewer_header.dart @@ -1,4 +1,5 @@ ///Dart imports +import 'dart:developer'; import 'dart:io'; import 'package:flutter/material.dart'; @@ -44,6 +45,13 @@ class HLSViewerHeader extends StatelessWidget { HMSRoomLayout.roleLayoutData!.logo!.url!) : Image.network( HMSRoomLayout.roleLayoutData!.logo!.url!, + errorBuilder: (context, exception, _) { + log('Error is $exception'); + return const SizedBox( + width: 30, + height: 30, + ); + }, height: 30, width: 30, ), diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_header.dart b/packages/hms_room_kit/lib/src/meeting/meeting_header.dart index 704703cfe..3a2a42abf 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_header.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_header.dart @@ -1,4 +1,5 @@ ///Dart imports +import 'dart:developer'; import 'dart:io'; ///Package imports @@ -60,6 +61,13 @@ class _MeetingHeaderState extends State { ) : Image.network( HMSRoomLayout.roleLayoutData!.logo!.url!, + errorBuilder: (context, exception, _) { + log('Error is $exception'); + return const SizedBox( + width: 30, + height: 30, + ); + }, height: 30, width: 30, ), diff --git a/packages/hms_room_kit/lib/src/preview/preview_header.dart b/packages/hms_room_kit/lib/src/preview/preview_header.dart index 1d56cc9f1..c4b2650cb 100644 --- a/packages/hms_room_kit/lib/src/preview/preview_header.dart +++ b/packages/hms_room_kit/lib/src/preview/preview_header.dart @@ -1,4 +1,5 @@ ///dart imports +import 'dart:developer'; import 'dart:io'; ///Package imports @@ -69,6 +70,13 @@ class PreviewHeader extends StatelessWidget { ) : Image.network( HMSRoomLayout.roleLayoutData!.logo!.url!, + errorBuilder: (context, exception, _) { + log('Error is $exception'); + return const SizedBox( + width: 30, + height: 30, + ); + }, height: 30, width: 30, ), diff --git a/packages/hms_room_kit/lib/src/preview_for_role/preview_for_role_header.dart b/packages/hms_room_kit/lib/src/preview_for_role/preview_for_role_header.dart index 0b1571cf5..c25deda2e 100644 --- a/packages/hms_room_kit/lib/src/preview_for_role/preview_for_role_header.dart +++ b/packages/hms_room_kit/lib/src/preview_for_role/preview_for_role_header.dart @@ -1,3 +1,6 @@ +///Dart imports +import 'dart:developer'; + ///Package imports import 'package:flutter/cupertino.dart'; import 'package:flutter_svg/flutter_svg.dart'; @@ -37,6 +40,13 @@ class _PreviewForRoleHeaderState extends State { HMSRoomLayout.roleLayoutData!.logo!.url!) : Image.network( HMSRoomLayout.roleLayoutData!.logo!.url!, + errorBuilder: (context, exception, _) { + log('Error is $exception'); + return const SizedBox( + width: 30, + height: 30, + ); + }, height: 30, width: 30, ), From 8d55707749bec3b3a33c706e6890bc4e70c4207c Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 8 Nov 2023 21:48:17 +0530 Subject: [PATCH 21/40] updated packages --- .github/workflows/build.yml | 1 - packages/hms_room_kit/example/ios/Podfile.lock | 10 +++++----- packages/hms_room_kit/example/pubspec.lock | 8 ++++---- packages/hms_room_kit/pubspec.lock | 8 ++++---- packages/hms_room_kit/pubspec.yaml | 2 +- .../hmssdk_flutter/example/android/Gemfile.lock | 10 +++++----- packages/hmssdk_flutter/example/ios/Gemfile.lock | 10 +++++----- packages/hmssdk_flutter/example/ios/Podfile.lock | 16 ++++++++-------- packages/hmssdk_flutter/example/pubspec.lock | 8 ++++---- 9 files changed, 36 insertions(+), 37 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b012f029..f7f7c355f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,6 @@ on: push: branches: - main - - develop pull_request: types: - opened diff --git a/packages/hms_room_kit/example/ios/Podfile.lock b/packages/hms_room_kit/example/ios/Podfile.lock index 14cfa2667..b121c7c7f 100644 --- a/packages/hms_room_kit/example/ios/Podfile.lock +++ b/packages/hms_room_kit/example/ios/Podfile.lock @@ -6,14 +6,14 @@ PODS: - HMSBroadcastExtensionSDK (0.0.9) - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - - HMSSDK (1.1.0): + - HMSSDK (1.2.0): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.5116) - - hmssdk_flutter (1.9.1): + - hmssdk_flutter (1.9.2): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - - HMSSDK (= 1.1.0) + - HMSSDK (= 1.2.0) - HMSWebRTC (1.0.5116) - path_provider_foundation (0.0.1): - Flutter @@ -70,8 +70,8 @@ SPEC CHECKSUMS: HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 - HMSSDK: 49e3ac665ceb8904d41787ddf99742e8d7d6529a - hmssdk_flutter: 6c69bfe89445350e9cd8d1c37a72808aedfbdf02 + HMSSDK: 010fdd904b8d221bb297864800503132fd721d9e + hmssdk_flutter: 1d4cfbb745095ebf399eaf533b6cde0c2006d6e1 HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 5edf2abf8..ac7361d68 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: archive - sha256: "0da817eab9833cc222ee5575789664e99f60fe0c554be55dc1979f9b4ec6dd73" + sha256: "7b875fd4a20b165a3084bd2d210439b22ebc653f21cea4842729c0c30c82596b" url: "https://pub.dev" source: hosted - version: "3.4.8" + version: "3.4.9" args: dependency: transitive description: @@ -687,10 +687,10 @@ packages: dependency: transitive description: name: uuid - sha256: b715b8d3858b6fa9f68f87d20d98830283628014750c2b09b6f516c1da4af2a7 + sha256: df5a4d8f22ee4ccd77f8839ac7cb274ebc11ef9adcce8b92be14b797fe889921 url: "https://pub.dev" source: hosted - version: "4.1.0" + version: "4.2.1" vector_graphics: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index d09df5623..84555e7f6 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: archive - sha256: "0da817eab9833cc222ee5575789664e99f60fe0c554be55dc1979f9b4ec6dd73" + sha256: "7b875fd4a20b165a3084bd2d210439b22ebc653f21cea4842729c0c30c82596b" url: "https://pub.dev" source: hosted - version: "3.4.8" + version: "3.4.9" args: dependency: transitive description: @@ -672,10 +672,10 @@ packages: dependency: transitive description: name: uuid - sha256: b715b8d3858b6fa9f68f87d20d98830283628014750c2b09b6f516c1da4af2a7 + sha256: df5a4d8f22ee4ccd77f8839ac7cb274ebc11ef9adcce8b92be14b797fe889921 url: "https://pub.dev" source: hosted - version: "4.1.0" + version: "4.2.1" vector_graphics: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index be93dd171..357c796c7 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -33,7 +33,7 @@ dependencies: tuple: ^2.0.2 url_launcher: ^6.1.11 share_plus: ^7.0.2 - flutter_foreground_task: ^6.0.0+1 + flutter_foreground_task: ^6.1.2 collection: ^1.17.0 dots_indicator: ^3.0.0 diff --git a/packages/hmssdk_flutter/example/android/Gemfile.lock b/packages/hmssdk_flutter/example/android/Gemfile.lock index b4d24195e..aee2aa74c 100644 --- a/packages/hmssdk_flutter/example/android/Gemfile.lock +++ b/packages/hmssdk_flutter/example/android/Gemfile.lock @@ -13,7 +13,7 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.845.0) + aws-partitions (1.847.0) aws-sdk-core (3.186.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) @@ -132,19 +132,19 @@ GEM google-apis-core (>= 0.11.0, < 2.a) google-apis-playcustomapp_v1 (0.13.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-storage_v1 (0.19.0) - google-apis-core (>= 0.9.0, < 2.a) + google-apis-storage_v1 (0.29.0) + google-apis-core (>= 0.11.0, < 2.a) google-cloud-core (1.6.0) google-cloud-env (~> 1.0) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) faraday (>= 0.17.3, < 3.0) google-cloud-errors (1.3.1) - google-cloud-storage (1.44.0) + google-cloud-storage (1.45.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.19.0) + google-apis-storage_v1 (~> 0.29.0) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index eb627fd76..68c52c04a 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -13,7 +13,7 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.845.0) + aws-partitions (1.847.0) aws-sdk-core (3.186.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) @@ -133,19 +133,19 @@ GEM google-apis-core (>= 0.11.0, < 2.a) google-apis-playcustomapp_v1 (0.13.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-storage_v1 (0.19.0) - google-apis-core (>= 0.9.0, < 2.a) + google-apis-storage_v1 (0.29.0) + google-apis-core (>= 0.11.0, < 2.a) google-cloud-core (1.6.0) google-cloud-env (~> 1.0) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) faraday (>= 0.17.3, < 3.0) google-cloud-errors (1.3.1) - google-cloud-storage (1.44.0) + google-cloud-storage (1.45.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.19.0) + google-apis-storage_v1 (~> 0.29.0) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index d0b5acc72..8490ac914 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -83,15 +83,15 @@ PODS: - GoogleUtilities/Environment (~> 7.7) - nanopb (< 2.30910.0, >= 2.30908.0) - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Environment (7.11.6): + - GoogleUtilities/Environment (7.12.0): - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/ISASwizzler (7.11.6) - - GoogleUtilities/Logger (7.11.6): + - GoogleUtilities/ISASwizzler (7.12.0) + - GoogleUtilities/Logger (7.12.0): - GoogleUtilities/Environment - - GoogleUtilities/MethodSwizzler (7.11.6): + - GoogleUtilities/MethodSwizzler (7.12.0): - GoogleUtilities/Logger - - "GoogleUtilities/NSData+zlib (7.11.6)" - - GoogleUtilities/UserDefaults (7.11.6): + - "GoogleUtilities/NSData+zlib (7.12.0)" + - GoogleUtilities/UserDefaults (7.12.0): - GoogleUtilities/Logger - HMSAnalyticsSDK (0.0.2) - HMSBroadcastExtensionSDK (0.0.9) @@ -231,7 +231,7 @@ SPEC CHECKSUMS: Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2 - GoogleUtilities: 202e7a9f5128accd11160fb9c19612de1911aa19 + GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34 HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 @@ -253,4 +253,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 919064996fff867cd85dbf9e7730ff45bac23884 -COCOAPODS: 1.13.0 +COCOAPODS: 1.14.2 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index b3df1103a..e4e64e4a8 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: transitive description: name: archive - sha256: "0da817eab9833cc222ee5575789664e99f60fe0c554be55dc1979f9b4ec6dd73" + sha256: "7b875fd4a20b165a3084bd2d210439b22ebc653f21cea4842729c0c30c82596b" url: "https://pub.dev" source: hosted - version: "3.4.8" + version: "3.4.9" args: dependency: transitive description: @@ -799,10 +799,10 @@ packages: dependency: transitive description: name: uuid - sha256: b715b8d3858b6fa9f68f87d20d98830283628014750c2b09b6f516c1da4af2a7 + sha256: df5a4d8f22ee4ccd77f8839ac7cb274ebc11ef9adcce8b92be14b797fe889921 url: "https://pub.dev" source: hosted - version: "4.1.0" + version: "4.2.1" vector_graphics: dependency: transitive description: From 34887051cd3e36d423e14f63f34d0e853fac5231 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:57:25 +0530 Subject: [PATCH 22/40] Updated changelog (#1628) * Updated changelog * Updated link * Update CHANGELOG.md --------- Co-authored-by: ygit --- packages/hmssdk_flutter/CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index 54709c0cb..cbabda74f 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/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.9.2 - 2023-11-09 + +### Added + +- Added `Subscriber Stats` for improved debugging of subscription issues. + +### Changed + +- Auto simulcast in `HMSVideoView` correctly picks the layers based on the size of the view. + +- Removed default usage of Software Echo Cancellation. Now, by default Hardware echo cancellation will be used. More information is available [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/configure-your-device/microphone/echo-cancellation) + +Updated to Android SDK 2.8.0 & iOS SDK 1.2.0 + +**Full Changelog**: [1.9.1...1.9.2](https://github.com/100mslive/100ms-flutter/compare/1.9.1...1.9.2) + ## 1.9.1 - 2023-11-02 ### Fixed From 27e415847daa048f41022f331e8bb8dab9dc5495 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 9 Nov 2023 12:27:43 +0530 Subject: [PATCH 23/40] 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 90e1d4260..7051f9698 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -18,6 +18,9 @@ Persist Room meeting link after successfully joining the Room Incorrect DateTime format on iOS prevents the user from Joining a Room - https://100ms.atlassian.net/browse/FLUT-144 +To handle error in case the logo url returns error +- https://100ms.atlassian.net/browse/FLUT-152 + Room Kit: 1.0.3 Core SDK: 1.9.2 Android SDK: 2.8.0 From ff186d58b7995e6a5e17319fb15d4310e897fe4f Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 9 Nov 2023 18:34:12 +0530 Subject: [PATCH 24/40] =?UTF-8?q?released=20sample=20app=20version=201.5.8?= =?UTF-8?q?8=20(388)=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 10598e54f..1d963de84 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 387 - versionName "1.5.87" + versionCode 388 + versionName "1.5.88" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 424588305..670b17342 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.87 + 1.5.88 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 387 + 388 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From b88ac4a6dc1f96142aa1a813735f2df96fe48d7d Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 9 Nov 2023 18:34:35 +0530 Subject: [PATCH 25/40] updated Changelog --- packages/hmssdk_flutter/CHANGELOG.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index cbabda74f..ae4fa63ad 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/CHANGELOG.md @@ -7,10 +7,6 @@ ## 1.9.2 - 2023-11-09 -### Added - -- Added `Subscriber Stats` for improved debugging of subscription issues. - ### Changed - Auto simulcast in `HMSVideoView` correctly picks the layers based on the size of the view. From 9b54a40d8201c713619b0ae2658dd7c07d76cfbd Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 9 Nov 2023 18:38:04 +0530 Subject: [PATCH 26/40] updated Changelog --- packages/hmssdk_flutter/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index ae4fa63ad..beab67e80 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/CHANGELOG.md @@ -11,6 +11,8 @@ - Auto simulcast in `HMSVideoView` correctly picks the layers based on the size of the view. +- Resolved an issue where after a Call Interruption the voices of users were robotic + - Removed default usage of Software Echo Cancellation. Now, by default Hardware echo cancellation will be used. More information is available [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/configure-your-device/microphone/echo-cancellation) Updated to Android SDK 2.8.0 & iOS SDK 1.2.0 From 6c9d16468aa50d7b7f29d8b6ab02a3d8abeab9e6 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:40:06 +0530 Subject: [PATCH 27/40] Changelog updated (#1637) --- packages/hms_room_kit/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/hms_room_kit/CHANGELOG.md b/packages/hms_room_kit/CHANGELOG.md index 60a73b128..89d4b21a1 100644 --- a/packages/hms_room_kit/CHANGELOG.md +++ b/packages/hms_room_kit/CHANGELOG.md @@ -5,6 +5,12 @@ | 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.0.5 - 2023-11-09 + +### 🚀 Fixed + +- To handle error in case the logo url returns error + ## 1.0.4 - 2023-11-03 ### 🚀 Added From 748e918d1b939dc6fe4908a0140765430d731f09 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 9 Nov 2023 18:51:01 +0530 Subject: [PATCH 28/40] updated sdk version in room kit --- 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 ac7361d68..aa943a1fa 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -226,9 +226,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: "../../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: c560e8bbb938676fdfb3c5bbfc28d4fdd10454e0d56762042027624922d8fbf8 + url: "https://pub.dev" + source: hosted version: "1.9.2" http: dependency: transitive diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 84555e7f6..6aec473d0 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -211,9 +211,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - path: "../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: c560e8bbb938676fdfb3c5bbfc28d4fdd10454e0d56762042027624922d8fbf8 + url: "https://pub.dev" + source: hosted version: "1.9.2" http: dependency: transitive diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index 357c796c7..a4d7b9771 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.9.2 intl: ^0.18.1 permission_handler: ^11.0.0 provider: ^6.0.5 From d2984c8e33f458d6a9426b851b9fac2ca4a706ec Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 9 Nov 2023 13:22:22 +0000 Subject: [PATCH 29/40] =?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 e4e64e4a8..3b20f8b2b 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -298,9 +298,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: ".." - relative: true - source: path + name: hmssdk_flutter + sha256: c560e8bbb938676fdfb3c5bbfc28d4fdd10454e0d56762042027624922d8fbf8 + url: "https://pub.dev" + source: hosted version: "1.9.2" http: dependency: transitive From 29b5436c66a15a711f24634d178086898e36c592 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 9 Nov 2023 19:21:57 +0530 Subject: [PATCH 30/40] updated package versions --- packages/hms_room_kit/example/pubspec.lock | 6 +++--- packages/hms_room_kit/example/pubspec.yaml | 2 +- packages/hms_room_kit/pubspec.lock | 4 ++-- packages/hms_room_kit/pubspec.yaml | 2 +- packages/hmssdk_flutter/example/android/Gemfile.lock | 2 +- packages/hmssdk_flutter/example/ios/Gemfile.lock | 2 +- packages/hmssdk_flutter/example/pubspec.lock | 6 +++--- packages/hmssdk_flutter/example/pubspec.yaml | 2 +- packages/hmssdk_flutter/lib/assets/sdk-versions.json | 2 +- packages/hmssdk_flutter/pubspec.yaml | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index aa943a1fa..9595cc4d8 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -222,7 +222,7 @@ packages: path: ".." relative: true source: path - version: "1.0.5" + version: "1.0.6" hmssdk_flutter: dependency: transitive description: @@ -467,10 +467,10 @@ packages: dependency: transitive description: name: provider - sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + sha256: "659adaefa8196fa2799d7ac3dca3c2e831e549dc40b082d07a599fe9150d75fc" url: "https://pub.dev" source: hosted - version: "6.0.5" + version: "6.1.0" share_plus: dependency: transitive description: diff --git a/packages/hms_room_kit/example/pubspec.yaml b/packages/hms_room_kit/example/pubspec.yaml index 35a73cd21..c7ad020a2 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.0.5 +version: 1.0.6 environment: sdk: ">=2.19.6 <3.0.0" diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 6aec473d0..f8fb585a2 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -452,10 +452,10 @@ packages: dependency: "direct main" description: name: provider - sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + sha256: "659adaefa8196fa2799d7ac3dca3c2e831e549dc40b082d07a599fe9150d75fc" url: "https://pub.dev" source: hosted - version: "6.0.5" + version: "6.1.0" share_plus: dependency: "direct main" description: diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index a4d7b9771..842b3e66e 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.0.5 +version: 1.0.6 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues diff --git a/packages/hmssdk_flutter/example/android/Gemfile.lock b/packages/hmssdk_flutter/example/android/Gemfile.lock index aee2aa74c..4a830a829 100644 --- a/packages/hmssdk_flutter/example/android/Gemfile.lock +++ b/packages/hmssdk_flutter/example/android/Gemfile.lock @@ -13,7 +13,7 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.847.0) + aws-partitions (1.848.0) aws-sdk-core (3.186.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index 68c52c04a..aabba7266 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -13,7 +13,7 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.847.0) + aws-partitions (1.848.0) aws-sdk-core (3.186.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 3b20f8b2b..a870e2b33 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -294,7 +294,7 @@ packages: path: "../../hms_room_kit" relative: true source: path - version: "1.0.5" + version: "1.0.6" hmssdk_flutter: dependency: transitive description: @@ -547,10 +547,10 @@ packages: dependency: transitive description: name: provider - sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + sha256: "659adaefa8196fa2799d7ac3dca3c2e831e549dc40b082d07a599fe9150d75fc" url: "https://pub.dev" source: hosted - version: "6.0.5" + version: "6.1.0" qr_code_scanner: dependency: "direct main" description: diff --git a/packages/hmssdk_flutter/example/pubspec.yaml b/packages/hmssdk_flutter/example/pubspec.yaml index 2d8e43632..8f8f1521c 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.9.2 +version: 1.9.3 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 57b4bafaf..d8629507a 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -1,5 +1,5 @@ { - "flutter": "1.9.2", + "flutter": "1.9.3", "ios": "1.2.0", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", diff --git a/packages/hmssdk_flutter/pubspec.yaml b/packages/hmssdk_flutter/pubspec.yaml index e7149ca87..7346f2577 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.9.2 +version: 1.9.3 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues From b68a6f3fe6da02f0e1dee90619503302b0fca465 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:53:54 +0530 Subject: [PATCH 31/40] updated iOS sdk (#1639) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * updated iOS sdk * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- .../hmssdk_flutter/example/ios/Podfile.lock | 40 +++++++++---------- packages/hmssdk_flutter/example/pubspec.lock | 26 ++++++------ .../lib/assets/sdk-versions.json | 2 +- packages/hmssdk_flutter/pubspec.lock | 26 ++++++------ 4 files changed, 47 insertions(+), 47 deletions(-) diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 8490ac914..c6cadbac0 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -25,15 +25,15 @@ PODS: - Firebase/Performance (= 10.9.0) - firebase_core - Flutter - - FirebaseABTesting (10.17.0): + - FirebaseABTesting (10.18.0): - FirebaseCore (~> 10.0) - FirebaseCore (10.9.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/Logger (~> 7.8) - - FirebaseCoreExtension (10.17.0): + - FirebaseCoreExtension (10.18.0): - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.17.0): + - FirebaseCoreInternal (10.18.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - FirebaseCrashlytics (10.9.0): - FirebaseCore (~> 10.5) @@ -45,7 +45,7 @@ PODS: - PromisesObjC (~> 2.1) - FirebaseDynamicLinks (10.9.0): - FirebaseCore (~> 10.0) - - FirebaseInstallations (10.17.0): + - FirebaseInstallations (10.18.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) @@ -60,14 +60,14 @@ PODS: - GoogleUtilities/ISASwizzler (~> 7.8) - GoogleUtilities/MethodSwizzler (~> 7.8) - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseRemoteConfig (10.17.0): + - FirebaseRemoteConfig (10.18.0): - FirebaseABTesting (~> 10.0) - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) - FirebaseSharedSwift (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseSessions (10.17.0): + - FirebaseSessions (10.18.0): - FirebaseCore (~> 10.5) - FirebaseCoreExtension (~> 10.0) - FirebaseInstallations (~> 10.0) @@ -75,7 +75,7 @@ PODS: - GoogleUtilities/Environment (~> 7.10) - nanopb (< 2.30910.0, >= 2.30908.0) - PromisesSwift (~> 2.1) - - FirebaseSharedSwift (10.17.0) + - FirebaseSharedSwift (10.18.0) - Flutter (1.0.0) - flutter_foreground_task (0.0.1): - Flutter @@ -97,14 +97,14 @@ PODS: - HMSBroadcastExtensionSDK (0.0.9) - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - - HMSSDK (1.2.0): + - HMSSDK (1.2.1): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.5116) - - hmssdk_flutter (1.9.2): + - hmssdk_flutter (1.9.3): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - - HMSSDK (= 1.2.0) + - HMSSDK (= 1.2.1) - HMSWebRTC (1.0.5116) - MTBBarcodeScanner (5.0.11) - nanopb (2.30909.1): @@ -217,17 +217,17 @@ SPEC CHECKSUMS: firebase_crashlytics: 9b80d1944507cc07fa1c4455797f7d2eb7c8873f firebase_dynamic_links: db9f2ebcc3ea646e76a1d3ee37e9e57890ff0a83 firebase_performance: d11d1fd9591547f6b75f325aaadd6550eaf7e090 - FirebaseABTesting: 609e15b57b5f1096c8feb984e8995d9e769858fe + FirebaseABTesting: d8b10ff4c6d1a9d6b11f02a08463ad5fd9fc6b1b FirebaseCore: b68d3616526ec02e4d155166bbafb8eca64af557 - FirebaseCoreExtension: 47720bb330d7041047c0935a34a3a4b92f818074 - FirebaseCoreInternal: 2cf9202e226e3f78d2bf6d56c472686b935bfb7f + FirebaseCoreExtension: 62b201498aa10535801cdf3448c7f4db5e24ed80 + FirebaseCoreInternal: 8eb002e564b533bdcf1ba011f33f2b5c10e2ed4a FirebaseCrashlytics: b60329455285aff853e54139d8ddbfe1e5f2b9f9 FirebaseDynamicLinks: 8cb66c4f403aa6ddf86ff3bc3c383a652f344ce9 - FirebaseInstallations: 9387bf15abfc69a714f54e54f74a251264fdb79b + FirebaseInstallations: e842042ec6ac1fd2e37d7706363ebe7f662afea4 FirebasePerformance: eee2f5da94fd7e5d15487649f8fe10a90c87c174 - FirebaseRemoteConfig: 94ab72cd7aa865b6226ee527b1fa5c4f961a4e7b - FirebaseSessions: 49f39e5c10e3f9fdd38d01b748329bae2a2fa8ed - FirebaseSharedSwift: e8fe8d63d434266a1b2c7f02807d5b64462e1851 + FirebaseRemoteConfig: bbd42790a4e84fde6aab7eae810b608e7b5c0bf6 + FirebaseSessions: f90fe9212ee2818641eda051c0835c9c4e30d9ae + FirebaseSharedSwift: 62e248642c0582324d0390706cadd314687c116b Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2 @@ -235,8 +235,8 @@ SPEC CHECKSUMS: HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 - HMSSDK: 010fdd904b8d221bb297864800503132fd721d9e - hmssdk_flutter: 1d4cfbb745095ebf399eaf533b6cde0c2006d6e1 + HMSSDK: 6e176238d9972b78b7831398bbfefc3fddadad55 + hmssdk_flutter: ceffbce79af4203f64def3fefe79f8f87c75a49c HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 @@ -253,4 +253,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 919064996fff867cd85dbf9e7730ff45bac23884 -COCOAPODS: 1.14.2 +COCOAPODS: 1.13.0 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index a870e2b33..fd647f5f1 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" convert: dependency: transitive description: @@ -371,10 +371,10 @@ packages: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" mime: dependency: transitive description: @@ -656,18 +656,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -688,10 +688,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" tuple: dependency: transitive description: @@ -848,10 +848,10 @@ packages: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.3.0" win32: dependency: transitive description: @@ -877,5 +877,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.1.0 <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index d8629507a..7a007bad9 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.9.3", - "ios": "1.2.0", + "ios": "1.2.1", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", "android": "2.8.0" diff --git a/packages/hmssdk_flutter/pubspec.lock b/packages/hmssdk_flutter/pubspec.lock index c3cc2c33e..53939cd59 100644 --- a/packages/hmssdk_flutter/pubspec.lock +++ b/packages/hmssdk_flutter/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" fake_async: dependency: transitive description: @@ -79,10 +79,10 @@ packages: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" path: dependency: transitive description: @@ -108,18 +108,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -140,10 +140,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" vector_math: dependency: transitive description: @@ -156,10 +156,10 @@ packages: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.3.0" sdks: - dart: ">=3.1.0-185.0.dev <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=2.10.0" From a886eda35b8c0eaffa270f343d4c4aa0602c6dbb Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:06:58 +0530 Subject: [PATCH 32/40] Flut 155/option to mute room (#1638) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated mute room option * Completed functionality for muting the room * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 Co-authored-by: ygit --- packages/hms_room_kit/example/pubspec.lock | 9 +- .../lib/src/meeting/meeting_header.dart | 38 +- .../lib/src/meeting/meeting_store.dart | 15 +- .../audio_settings_bottom_sheet.dart | 409 +++++++++++++----- packages/hms_room_kit/pubspec.lock | 9 +- packages/hms_room_kit/pubspec.yaml | 3 +- .../hms/hmssdk_flutter/HmssdkFlutterPlugin.kt | 16 +- .../hmssdk_flutter/methods/HMSAudioAction.kt | 6 +- packages/hmssdk_flutter/example/pubspec.lock | 9 +- .../ios/Classes/Actions/HMSAudioAction.swift | 7 +- .../Classes/SwiftHmssdkFlutterPlugin.swift | 18 + 11 files changed, 370 insertions(+), 169 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 9595cc4d8..bebc464bd 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -226,11 +226,10 @@ packages: hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: c560e8bbb938676fdfb3c5bbfc28d4fdd10454e0d56762042027624922d8fbf8 - url: "https://pub.dev" - source: hosted - version: "1.9.2" + path: "../../hmssdk_flutter" + relative: true + source: path + version: "1.9.3" http: dependency: transitive description: diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_header.dart b/packages/hms_room_kit/lib/src/meeting/meeting_header.dart index 3a2a42abf..b544c57e1 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_header.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_header.dart @@ -1,6 +1,5 @@ ///Dart imports import 'dart:developer'; -import 'dart:io'; ///Package imports import 'package:flutter/material.dart'; @@ -252,35 +251,28 @@ class _MeetingHeaderState extends State { ///This renders the audio device selection button ///If the role is allowed to publish audio, we render the audio device selection button ///else we render an empty SizedBox - Selector( - selector: (_, meetingStore) => + Selector>( + selector: (_, meetingStore) => Tuple2( meetingStore.currentAudioDeviceMode, - builder: (_, audioDevice, __) { + meetingStore.isSpeakerOn), + builder: (_, data, __) { return HMSEmbeddedButton( onTap: () { - ///If the platform is iOS, we use the iOS UI to switch audio output - ///on Android we use the [AudioSettingsBottomSheet] to switch audio output - if (Platform.isIOS) { - context - .read() - .switchAudioOutputUsingiOSUI(); - } else { - showModalBottomSheet( - isScrollControlled: true, - backgroundColor: Colors.transparent, - context: context, - builder: (ctx) => - ChangeNotifierProvider.value( - value: context - .read(), - child: - const AudioSettingsBottomSheet())); - } + showModalBottomSheet( + isScrollControlled: true, + backgroundColor: Colors.transparent, + context: context, + builder: (ctx) => + ChangeNotifierProvider.value( + value: context + .read(), + child: + const AudioSettingsBottomSheet())); }, onColor: HMSThemeColors.backgroundDim, isActive: true, child: SvgPicture.asset( - 'packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(audioDevice)}.svg', + 'packages/hms_room_kit/lib/src/assets/icons/${!data.item2 ? "speaker_state_off" : Utilities.getAudioDeviceIconName(data.item1)}.svg', colorFilter: ColorFilter.mode( HMSThemeColors.onSurfaceHighEmphasis, BlendMode.srcIn), 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 90652c18a..49381c034 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -746,6 +746,9 @@ class MeetingStore extends ChangeNotifier } void switchAudioOutput({required HMSAudioDevice audioDevice}) { + if (!isSpeakerOn) { + toggleSpeaker(); + } selfChangeAudioDevice = true; currentAudioDeviceMode = audioDevice; _hmsSDKInteractor.switchAudioOutput(audioDevice: audioDevice); @@ -928,15 +931,6 @@ class MeetingStore extends ChangeNotifier required HMSPeer peer}) { log("onTrackUpdate-> track: ${track.toString()} peer: ${peer.name} update: ${trackUpdate.name}"); - if (!isSpeakerOn && - track.kind == HMSTrackKind.kHMSTrackKindAudio && - trackUpdate == HMSTrackUpdate.trackAdded) { - if (track.runtimeType == HMSRemoteAudioTrack) { - HMSRemoteAudioTrack currentTrack = track as HMSRemoteAudioTrack; - currentTrack.setPlaybackAllowed(false); - } - } - if (peer.isLocal) { localPeer = peer; if (track.kind == HMSTrackKind.kHMSTrackKindAudio && @@ -1903,6 +1897,9 @@ class MeetingStore extends ChangeNotifier // } void switchAudioOutputUsingiOSUI() { + if (!isSpeakerOn) { + toggleSpeaker(); + } _hmsSDKInteractor.switchAudioOutputUsingiOSUI(); } diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart index 6a77f11a4..4ce973721 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart @@ -1,4 +1,6 @@ ///Package imports +import 'dart:io'; + import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:hmssdk_flutter/hmssdk_flutter.dart'; @@ -32,15 +34,15 @@ class _AudioSettingsBottomSheetState extends State { return DraggableScrollableSheet( maxChildSize: (context.read().availableAudioOutputDevices.length + - 1.2) * + 1.4) * 0.1, minChildSize: (context.read().availableAudioOutputDevices.length + - 1) * + 1.2) * 0.1, initialChildSize: (context.read().availableAudioOutputDevices.length + - 1) * + 1.2) * 0.1, builder: (context, ScrollController scrollController) { return Container( @@ -89,133 +91,310 @@ class _AudioSettingsBottomSheetState extends State { height: 5, ), ), - Expanded( - child: ListView.builder( - controller: scrollController, - itemCount: data.item2, - itemBuilder: (context, index) { - return Column( - children: [ - GestureDetector( - onTap: () { - context - .read() - .switchAudioOutput( - audioDevice: data.item1[index]); - Navigator.pop(context); - }, - - ///Here we are checking if the current audio device is automatic or not - ///If it is automatic then we render the automatic icon - ///else we render the audio device icon - /// - ///If the current audio device is the selected audio device then we render the tick icon - ///else we render an empty container - child: data.item1[index] == - HMSAudioDevice.AUTOMATIC - ? ListTile( - horizontalTitleGap: 2, - enabled: false, - contentPadding: EdgeInsets.zero, - leading: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item3)}.svg", + Platform.isIOS + ? Expanded( + child: ListView( + children: [ + GestureDetector( + onTap: () => { + Navigator.pop(context), + context + .read() + .switchAudioOutputUsingiOSUI() + }, + child: ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item3)}.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: "Auto", + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: (context + .read() + .isSpeakerOn) + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", fit: BoxFit.scaleDown, colorFilter: ColorFilter.mode( HMSThemeColors .onSurfaceHighEmphasis, BlendMode.srcIn), ), - title: HMSSubtitleText( - fontSize: 14, - lineHeight: 20, - letterSpacing: 0.10, - fontWeight: FontWeight.w600, - text: - "${Utilities.getAudioDeviceName(data.item1[index])} (${Utilities.getAudioDeviceName(data.item3)})", - textColor: HMSThemeColors - .onSurfaceHighEmphasis, - ), - trailing: context - .read() - .currentAudioDeviceMode == - HMSAudioDevice.AUTOMATIC - ? SizedBox( - height: 24, - width: 24, - child: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/tick.svg", - fit: BoxFit.scaleDown, - colorFilter: - ColorFilter.mode( - HMSThemeColors - .onSurfaceHighEmphasis, - BlendMode - .srcIn), - ), - ) - : const SizedBox( - height: 24, - width: 24, - ), ) - : ListTile( - horizontalTitleGap: 2, - enabled: false, - contentPadding: EdgeInsets.zero, - leading: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item1[index])}.svg", + : const SizedBox( + height: 24, + width: 24, + ), + ), + ), + GestureDetector( + onTap: () => { + context + .read() + .toggleSpeaker(), + Navigator.pop(context) + }, + child: ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/speaker_state_off.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: "Mute Audio", + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: !context + .read() + .isSpeakerOn + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", fit: BoxFit.scaleDown, colorFilter: ColorFilter.mode( HMSThemeColors .onSurfaceHighEmphasis, BlendMode.srcIn), ), - title: HMSSubtitleText( - text: Utilities - .getAudioDeviceName( - data.item1[index]), - fontSize: 14, - lineHeight: 20, - letterSpacing: 0.10, - fontWeight: FontWeight.w600, - textColor: HMSThemeColors - .onSurfaceHighEmphasis, - ), - trailing: data.item1[index] == - context - .read() - .currentAudioDeviceMode - ? SizedBox( - height: 24, - width: 24, - child: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/tick.svg", - fit: BoxFit.scaleDown, - colorFilter: - ColorFilter.mode( - HMSThemeColors - .onSurfaceHighEmphasis, - BlendMode - .srcIn), - ), - ) - : const SizedBox( - height: 24, - width: 24, - ), + ) + : const SizedBox( + height: 24, + width: 24, ), ), - Padding( - padding: const EdgeInsets.symmetric( - vertical: 5), - child: Divider( - color: HMSThemeColors.borderDefault, - height: 5, - )), - ], - ); - }), - ) + ) + ], + )) + : Expanded( + child: ListView.builder( + controller: scrollController, + itemCount: data.item2 + 1, + itemBuilder: (context, index) { + if (index == data.item2) { + return GestureDetector( + onTap: () => { + context + .read() + .toggleSpeaker(), + Navigator.pop(context) + }, + child: ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/speaker_state_off.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: "Mute Audio", + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: !context + .read() + .isSpeakerOn + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + ) + : const SizedBox( + height: 24, + width: 24, + ), + ), + ); + } + return Column( + children: [ + GestureDetector( + onTap: () { + context + .read() + .switchAudioOutput( + audioDevice: + data.item1[index]); + Navigator.pop(context); + }, + + ///Here we are checking if the current audio device is automatic or not + ///If it is automatic then we render the automatic icon + ///else we render the audio device icon + /// + ///If the current audio device is the selected audio device then we render the tick icon + ///else we render an empty container + child: data.item1[index] == + HMSAudioDevice.AUTOMATIC + ? ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: + EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item3)}.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: + FontWeight.w600, + text: + "${Utilities.getAudioDeviceName(data.item1[index])} (${Utilities.getAudioDeviceName(data.item3)})", + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: (context + .read< + MeetingStore>() + .currentAudioDeviceMode == + HMSAudioDevice + .AUTOMATIC && + context + .read< + MeetingStore>() + .isSpeakerOn) + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture + .asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", + fit: BoxFit + .scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode + .srcIn), + ), + ) + : const SizedBox( + height: 24, + width: 24, + ), + ) + : ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: + EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item1[index])}.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: Utilities + .getAudioDeviceName( + data.item1[ + index]), + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: + FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: (data.item1[ + index] == + context + .read< + MeetingStore>() + .currentAudioDeviceMode && + context + .read< + MeetingStore>() + .isSpeakerOn) + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture + .asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", + fit: BoxFit + .scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode + .srcIn), + ), + ) + : const SizedBox( + height: 24, + width: 24, + ), + ), + ), + Padding( + padding: + const EdgeInsets.symmetric( + vertical: 5), + child: Divider( + color: HMSThemeColors + .borderDefault, + height: 5, + )), + ], + ); + }), + ) ], ), ); diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index f8fb585a2..3794f307e 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -211,11 +211,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - name: hmssdk_flutter - sha256: c560e8bbb938676fdfb3c5bbfc28d4fdd10454e0d56762042027624922d8fbf8 - url: "https://pub.dev" - source: hosted - version: "1.9.2" + path: "../hmssdk_flutter" + relative: true + source: path + version: "1.9.3" http: dependency: transitive description: diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index 842b3e66e..07415a5e9 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -14,7 +14,8 @@ dependencies: flutter: sdk: flutter - hmssdk_flutter: ^1.9.2 + hmssdk_flutter: + path: ../hmssdk_flutter intl: ^0.18.1 permission_handler: ^11.0.0 provider: ^6.0.5 diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt index 224b55a5d..a1538c9ad 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt @@ -76,7 +76,7 @@ class HmssdkFlutterPlugin : private var hmsSessionStore: HmsSessionStore? = null private var hmsKeyChangeObserverList = ArrayList() var hlsStreamUrl: String? = null - + private var isRoomAudioUnmutedLocally = true override fun onAttachedToEngine( @NonNull flutterPluginBinding: FlutterPlugin.FlutterPluginBinding, ) { @@ -919,6 +919,13 @@ class HmssdkFlutterPlugin : ) } + /** + * This acts as a setter for [isRoomAudioUnmutedLocally] variable + */ + fun setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted:Boolean){ + isRoomAudioUnmutedLocally = isRoomAudioUnmuted + } + fun build( activity: Activity, call: MethodCall, @@ -1091,6 +1098,13 @@ class HmssdkFlutterPlugin : track: HMSTrack, peer: HMSPeer, ) { + /** + * Here we set the playback of the audio to false if the room is muted locally + */ + if(track is HMSRemoteAudioTrack && type == HMSTrackUpdate.TRACK_ADDED && !isRoomAudioUnmutedLocally){ + track.isPlaybackAllowed = false + } + val args = HashMap() args.put("event_name", "on_track_update") args.put("data", HMSTrackUpdateExtension.toDictionary(peer, track, type)) diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt index d4fb852b2..ea63f733a 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt @@ -22,10 +22,10 @@ class HMSAudioAction { result.success(isAudioMute(call, hmssdk)) } "mute_room_audio_locally" -> { - toggleAudioMuteAll(true, result, hmssdk) + toggleAudioMuteAll(true, result, hmssdk,hmssdkFlutterPlugin) } "un_mute_room_audio_locally" -> { - toggleAudioMuteAll(false, result, hmssdk) + toggleAudioMuteAll(false, result, hmssdk,hmssdkFlutterPlugin) } "set_volume" -> { setVolume(call, result, hmssdk) @@ -81,6 +81,7 @@ class HMSAudioAction { shouldMute: Boolean, result: Result, hmssdk: HMSSDK, + hmssdkFlutterPlugin: HmssdkFlutterPlugin? ) { val room: HMSRoom? = hmssdk.getRoom() if (room != null) { @@ -90,6 +91,7 @@ class HMSAudioAction { it.isPlaybackAllowed = (!shouldMute) } } + hmssdkFlutterPlugin?.setIsRoomAudioUnmutedLocally(!shouldMute) } } diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index fd647f5f1..af4c1d084 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -298,11 +298,10 @@ packages: hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: c560e8bbb938676fdfb3c5bbfc28d4fdd10454e0d56762042027624922d8fbf8 - url: "https://pub.dev" - source: hosted - version: "1.9.2" + path: ".." + relative: true + source: path + version: "1.9.3" http: dependency: transitive description: diff --git a/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift b/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift index 747aa9c14..99fcf813f 100644 --- a/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift +++ b/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift @@ -18,10 +18,10 @@ class HMSAudioAction { isAudioMute(call, result, hmsSDK) case "mute_room_audio_locally": - toggleAudioMuteAll(result, hmsSDK, shouldMute: true) + toggleAudioMuteAll(result, hmsSDK, shouldMute: true,swiftHmssdkFlutterPlugin) case "un_mute_room_audio_locally": - toggleAudioMuteAll(result, hmsSDK, shouldMute: false) + toggleAudioMuteAll(result, hmsSDK, shouldMute: false,swiftHmssdkFlutterPlugin) case "set_volume": setVolume(call, result, hmsSDK) @@ -86,7 +86,7 @@ class HMSAudioAction { result(false) } - static private func toggleAudioMuteAll(_ result: @escaping FlutterResult, _ hmsSDK: HMSSDK?, shouldMute: Bool) { + static private func toggleAudioMuteAll(_ result: @escaping FlutterResult, _ hmsSDK: HMSSDK?, shouldMute: Bool, _ swiftHmssdkFlutterPlugin: SwiftHmssdkFlutterPlugin) { let room = hmsSDK?.room if room != nil { @@ -97,6 +97,7 @@ class HMSAudioAction { (track as! HMSRemoteAudioTrack).setPlaybackAllowed(!shouldMute) } } + swiftHmssdkFlutterPlugin.setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted: !shouldMute) } result(nil) } diff --git a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift index c4a001ed0..cb5b881c2 100644 --- a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift +++ b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift @@ -39,6 +39,8 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene private var sessionStoreChangeObservers = [HMSSessionStoreKeyChangeListener]() var hlsStreamUrl: String? + + private var isRoomAudioUnmutedLocally = true // MARK: - Flutter Setup @@ -1046,6 +1048,15 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene } } } + + + /** + * This acts as a setter for [isRoomAudioUnmutedLocally] variable + */ + func setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted:Bool){ + isRoomAudioUnmutedLocally = isRoomAudioUnmuted + } + // MARK: - Logging private var logLevel = HMSLogLevel.off @@ -1256,6 +1267,13 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene public func on(track: HMSTrack, update: HMSTrackUpdate, for peer: HMSPeer) { + /** + * Here we set the playback of the audio to false if the room is muted locally + */ + if(track is HMSRemoteAudioTrack && update == .trackAdded && !isRoomAudioUnmutedLocally){ + (track as! HMSRemoteAudioTrack).setPlaybackAllowed(false) + } + let data = [ "event_name": "on_track_update", "data": [ From df6922ce15d151b8b8229f1eb2674dd11f2d976f Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 16 Nov 2023 18:03:34 +0530 Subject: [PATCH 33/40] updated packages --- .trunk/trunk.yaml | 16 +++---- packages/hms_room_kit/CHANGELOG.md | 3 +- .../hms_room_kit/example/ios/Podfile.lock | 10 ++--- packages/hms_room_kit/example/pubspec.lock | 42 +++++++++---------- packages/hms_room_kit/pubspec.lock | 42 +++++++++---------- packages/hmssdk_flutter/CHANGELOG.md | 17 ++++---- .../hms/hmssdk_flutter/HMSPeerExtension.kt | 1 - .../hms/hmssdk_flutter/HmssdkFlutterPlugin.kt | 5 ++- .../hmssdk_flutter/methods/HMSAudioAction.kt | 6 +-- .../example/android/Gemfile.lock | 14 +++---- .../hmssdk_flutter/example/ios/Gemfile.lock | 14 +++---- .../hmssdk_flutter/example/ios/Podfile.lock | 10 ++--- packages/hmssdk_flutter/example/pubspec.lock | 16 +++---- .../ios/Classes/Actions/HMSAudioAction.swift | 4 +- .../Classes/SwiftHmssdkFlutterPlugin.swift | 13 +++--- .../lib/assets/sdk-versions.json | 4 +- 16 files changed, 105 insertions(+), 112 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 7dbcedd51..b37affd9c 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -1,6 +1,6 @@ version: 0.1 cli: - version: 1.17.1 + version: 1.17.2 plugins: sources: - id: trunk @@ -9,19 +9,19 @@ plugins: lint: enabled: - actionlint@1.6.26 - - checkov@3.0.13 - - osv-scanner@1.4.2 - - trivy@0.46.1 - - trufflehog@3.61.0 + - checkov@3.0.37 + - osv-scanner@1.4.3 + - trivy@0.47.0 + - trufflehog@3.62.1 - oxipng@9.0.0 - - yamllint@1.32.0 + - yamllint@1.33.0 - markdownlint@0.37.0 - - prettier@3.0.3 + - prettier@3.1.0 - git-diff-check - shfmt@3.6.0 - shellcheck@0.9.0 - gitleaks@8.18.0 - - svgo@3.0.2 + - svgo@3.0.3 - ktlint@1.0.1 runtimes: enabled: diff --git a/packages/hms_room_kit/CHANGELOG.md b/packages/hms_room_kit/CHANGELOG.md index 89d4b21a1..ead5c3d92 100644 --- a/packages/hms_room_kit/CHANGELOG.md +++ b/packages/hms_room_kit/CHANGELOG.md @@ -23,10 +23,11 @@ ### 🚀 Added - Large Room Support + - Enhanced Participants list to accommodate up to 20,000 peers in a room. - Added recording state indicator: showcasing "initializing" and "running" states. -- Added `Lower Hand` Capability in Participant list +- Added `Lower Hand` Capability in Participant list ### Fixed diff --git a/packages/hms_room_kit/example/ios/Podfile.lock b/packages/hms_room_kit/example/ios/Podfile.lock index b121c7c7f..96a60894a 100644 --- a/packages/hms_room_kit/example/ios/Podfile.lock +++ b/packages/hms_room_kit/example/ios/Podfile.lock @@ -6,14 +6,14 @@ PODS: - HMSBroadcastExtensionSDK (0.0.9) - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - - HMSSDK (1.2.0): + - HMSSDK (1.2.1): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.5116) - - hmssdk_flutter (1.9.2): + - hmssdk_flutter (1.9.3): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - - HMSSDK (= 1.2.0) + - HMSSDK (= 1.2.1) - HMSWebRTC (1.0.5116) - path_provider_foundation (0.0.1): - Flutter @@ -70,8 +70,8 @@ SPEC CHECKSUMS: HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 - HMSSDK: 010fdd904b8d221bb297864800503132fd721d9e - hmssdk_flutter: 1d4cfbb745095ebf399eaf533b6cde0c2006d6e1 + HMSSDK: 6e176238d9972b78b7831398bbfefc3fddadad55 + hmssdk_flutter: ceffbce79af4203f64def3fefe79f8f87c75a49c HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index bebc464bd..98a551f95 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -69,10 +69,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" convert: dependency: transitive description: @@ -306,10 +306,10 @@ packages: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" mime: dependency: transitive description: @@ -434,10 +434,10 @@ packages: dependency: transitive description: name: petitparser - sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 + sha256: eeb2d1428ee7f4170e2bd498827296a18d4e7fc462b71727d111c0ac7707cfa6 url: "https://pub.dev" source: hosted - version: "5.4.0" + version: "6.0.1" platform: dependency: transitive description: @@ -466,10 +466,10 @@ packages: dependency: transitive description: name: provider - sha256: "659adaefa8196fa2799d7ac3dca3c2e831e549dc40b082d07a599fe9150d75fc" + sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096" url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.1.1" share_plus: dependency: transitive description: @@ -567,18 +567,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -599,10 +599,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" tuple: dependency: transitive description: @@ -735,18 +735,18 @@ packages: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.3.0" win32: dependency: transitive description: name: win32 - sha256: "350a11abd2d1d97e0cc7a28a81b781c08002aa2864d9e3f192ca0ffa18b06ed3" + sha256: "7c99c0e1e2fa190b48d25c81ca5e42036d5cac81430ef249027d97b0935c553f" url: "https://pub.dev" source: hosted - version: "5.0.9" + version: "5.1.0" xdg_directories: dependency: transitive description: @@ -759,10 +759,10 @@ packages: dependency: transitive description: name: xml - sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" + sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556 url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.4.2" sdks: - dart: ">=3.1.0 <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 3794f307e..f98e1f59d 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -69,10 +69,10 @@ packages: dependency: "direct main" description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" convert: dependency: transitive description: @@ -291,10 +291,10 @@ packages: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" mime: dependency: transitive description: @@ -419,10 +419,10 @@ packages: dependency: transitive description: name: petitparser - sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 + sha256: eeb2d1428ee7f4170e2bd498827296a18d4e7fc462b71727d111c0ac7707cfa6 url: "https://pub.dev" source: hosted - version: "5.4.0" + version: "6.0.1" platform: dependency: transitive description: @@ -451,10 +451,10 @@ packages: dependency: "direct main" description: name: provider - sha256: "659adaefa8196fa2799d7ac3dca3c2e831e549dc40b082d07a599fe9150d75fc" + sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096" url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.1.1" share_plus: dependency: "direct main" description: @@ -552,18 +552,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -584,10 +584,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" tuple: dependency: "direct main" description: @@ -720,18 +720,18 @@ packages: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.3.0" win32: dependency: transitive description: name: win32 - sha256: "350a11abd2d1d97e0cc7a28a81b781c08002aa2864d9e3f192ca0ffa18b06ed3" + sha256: "7c99c0e1e2fa190b48d25c81ca5e42036d5cac81430ef249027d97b0935c553f" url: "https://pub.dev" source: hosted - version: "5.0.9" + version: "5.1.0" xdg_directories: dependency: transitive description: @@ -744,10 +744,10 @@ packages: dependency: transitive description: name: xml - sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" + sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556 url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.4.2" sdks: - dart: ">=3.1.0 <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index beab67e80..89ff49e1d 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/CHANGELOG.md @@ -1,9 +1,9 @@ # Latest Versions -| Package | Version | -| ------------------| --------------------------------------------------------------------------------------------------------- | -| 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) | +| Package | Version | +| -------------- | ------------------------------------------------------------------------------------------------------ | +| 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.9.2 - 2023-11-09 @@ -34,9 +34,10 @@ Updated to Android SDK 2.7.9 & iOS SDK 1.1.0 ### Added - Large Room Support - - Added first class "Hand Raise" apis: `raiseLocalPeerHand`, `lowerLocalPeerHand`, `lowerRemotePeerHand` - - Added `onPeerListUpdate` event on `HMSUpdateListener`, This requires overriding the `onPeerListUpdate` method in all implementations of HMSUpdateListener. - - Added "Peer List Iterator" APIs - `getPeerListIterator` + + - Added first class "Hand Raise" apis: `raiseLocalPeerHand`, `lowerLocalPeerHand`, `lowerRemotePeerHand` + - Added `onPeerListUpdate` event on `HMSUpdateListener`, This requires overriding the `onPeerListUpdate` method in all implementations of HMSUpdateListener. + - Added "Peer List Iterator" APIs - `getPeerListIterator` For more details refer [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/interact-with-room/peer/large-room) @@ -53,6 +54,7 @@ Updated to Android SDK 2.7.7 & iOS SDK 1.1.0 ### Added - Added `previewForRole` & `cancelPreview` APIs to preview the audio / video of a particular role before changing into the new Role. + ```dart // preview video of a particular role await hmsSDK.previewForRole(role: "viewer-on-stage"); @@ -76,7 +78,6 @@ Updated to Android SDK 2.7.6 & iOS SDK 0.9.12 **Full Changelog**: [1.7.5...1.8.0](https://github.com/100mslive/100ms-flutter/compare/1.7.5...1.8.0) - ## 1.7.5 - 2023-08-18 Bug fixes and performance improvements diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt index 68ad7efb6..c26811c9f 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSPeerExtension.kt @@ -2,7 +2,6 @@ package live.hms.hmssdk_flutter import live.hms.video.sdk.models.HMSPeer import live.hms.video.sdk.models.enums.HMSPeerUpdate -import java.text.SimpleDateFormat class HMSPeerExtension { companion object { diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt index a1538c9ad..1e329c54f 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt @@ -77,6 +77,7 @@ class HmssdkFlutterPlugin : private var hmsKeyChangeObserverList = ArrayList() var hlsStreamUrl: String? = null private var isRoomAudioUnmutedLocally = true + override fun onAttachedToEngine( @NonNull flutterPluginBinding: FlutterPlugin.FlutterPluginBinding, ) { @@ -922,7 +923,7 @@ class HmssdkFlutterPlugin : /** * This acts as a setter for [isRoomAudioUnmutedLocally] variable */ - fun setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted:Boolean){ + fun setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted: Boolean) { isRoomAudioUnmutedLocally = isRoomAudioUnmuted } @@ -1101,7 +1102,7 @@ class HmssdkFlutterPlugin : /** * Here we set the playback of the audio to false if the room is muted locally */ - if(track is HMSRemoteAudioTrack && type == HMSTrackUpdate.TRACK_ADDED && !isRoomAudioUnmutedLocally){ + if (track is HMSRemoteAudioTrack && type == HMSTrackUpdate.TRACK_ADDED && !isRoomAudioUnmutedLocally) { track.isPlaybackAllowed = false } diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt index ea63f733a..c6e179b65 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSAudioAction.kt @@ -22,10 +22,10 @@ class HMSAudioAction { result.success(isAudioMute(call, hmssdk)) } "mute_room_audio_locally" -> { - toggleAudioMuteAll(true, result, hmssdk,hmssdkFlutterPlugin) + toggleAudioMuteAll(true, result, hmssdk, hmssdkFlutterPlugin) } "un_mute_room_audio_locally" -> { - toggleAudioMuteAll(false, result, hmssdk,hmssdkFlutterPlugin) + toggleAudioMuteAll(false, result, hmssdk, hmssdkFlutterPlugin) } "set_volume" -> { setVolume(call, result, hmssdk) @@ -81,7 +81,7 @@ class HMSAudioAction { shouldMute: Boolean, result: Result, hmssdk: HMSSDK, - hmssdkFlutterPlugin: HmssdkFlutterPlugin? + hmssdkFlutterPlugin: HmssdkFlutterPlugin?, ) { val room: HMSRoom? = hmssdk.getRoom() if (room != null) { diff --git a/packages/hmssdk_flutter/example/android/Gemfile.lock b/packages/hmssdk_flutter/example/android/Gemfile.lock index 4a830a829..3e44e275a 100644 --- a/packages/hmssdk_flutter/example/android/Gemfile.lock +++ b/packages/hmssdk_flutter/example/android/Gemfile.lock @@ -13,7 +13,7 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.848.0) + aws-partitions (1.851.0) aws-sdk-core (3.186.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) @@ -38,8 +38,7 @@ GEM declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) + domain_name (0.6.20231109) dotenv (2.8.1) emoji_regex (3.2.3) excon (0.104.0) @@ -72,7 +71,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.2.7) - fastlane (2.216.0) + fastlane (2.217.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -115,7 +114,7 @@ GEM fastlane-plugin-firebase_app_distribution (0.7.4) google-apis-firebaseappdistribution_v1 (~> 0.3.0) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.51.0) + google-apis-androidpublisher_v3 (0.52.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-core (0.11.2) addressable (~> 2.5, >= 2.5.1) @@ -204,9 +203,6 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) unicode-display_width (2.5.0) webrick (1.8.1) word_wrap (1.0.0) @@ -231,4 +227,4 @@ DEPENDENCIES fastlane-plugin-firebase_app_distribution BUNDLED WITH - 2.4.20 + 2.4.22 diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index aabba7266..fce1e3a84 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -13,7 +13,7 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.848.0) + aws-partitions (1.851.0) aws-sdk-core (3.186.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) @@ -38,8 +38,7 @@ GEM declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) + domain_name (0.6.20231109) dotenv (2.8.1) emoji_regex (3.2.3) excon (0.104.0) @@ -72,7 +71,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.2.7) - fastlane (2.216.0) + fastlane (2.217.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -116,7 +115,7 @@ GEM google-apis-firebaseappdistribution_v1 (~> 0.3.0) fastlane-plugin-versioning (0.5.2) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.51.0) + google-apis-androidpublisher_v3 (0.52.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-core (0.11.2) addressable (~> 2.5, >= 2.5.1) @@ -205,9 +204,6 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) unicode-display_width (2.5.0) webrick (1.8.1) word_wrap (1.0.0) @@ -233,4 +229,4 @@ DEPENDENCIES fastlane-plugin-versioning BUNDLED WITH - 2.4.20 + 2.4.22 diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index c6cadbac0..0cabf32a5 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -97,14 +97,14 @@ PODS: - HMSBroadcastExtensionSDK (0.0.9) - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - - HMSSDK (1.2.1): + - HMSSDK (1.3.0): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.5116) - hmssdk_flutter (1.9.3): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - - HMSSDK (= 1.2.1) + - HMSSDK (= 1.3.0) - HMSWebRTC (1.0.5116) - MTBBarcodeScanner (5.0.11) - nanopb (2.30909.1): @@ -235,8 +235,8 @@ SPEC CHECKSUMS: HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 - HMSSDK: 6e176238d9972b78b7831398bbfefc3fddadad55 - hmssdk_flutter: ceffbce79af4203f64def3fefe79f8f87c75a49c + HMSSDK: 631908d772646b66b3c4f7f4e1fb2681f7abb990 + hmssdk_flutter: 0b17359aefb7ec222e1b0cc44a595759a317ff98 HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 @@ -253,4 +253,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 919064996fff867cd85dbf9e7730ff45bac23884 -COCOAPODS: 1.13.0 +COCOAPODS: 1.14.2 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index af4c1d084..927036a19 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -514,10 +514,10 @@ packages: dependency: transitive description: name: petitparser - sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 + sha256: eeb2d1428ee7f4170e2bd498827296a18d4e7fc462b71727d111c0ac7707cfa6 url: "https://pub.dev" source: hosted - version: "5.4.0" + version: "6.0.1" platform: dependency: transitive description: @@ -546,10 +546,10 @@ packages: dependency: transitive description: name: provider - sha256: "659adaefa8196fa2799d7ac3dca3c2e831e549dc40b082d07a599fe9150d75fc" + sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096" url: "https://pub.dev" source: hosted - version: "6.1.0" + version: "6.1.1" qr_code_scanner: dependency: "direct main" description: @@ -855,10 +855,10 @@ packages: dependency: transitive description: name: win32 - sha256: "350a11abd2d1d97e0cc7a28a81b781c08002aa2864d9e3f192ca0ffa18b06ed3" + sha256: "7c99c0e1e2fa190b48d25c81ca5e42036d5cac81430ef249027d97b0935c553f" url: "https://pub.dev" source: hosted - version: "5.0.9" + version: "5.1.0" xdg_directories: dependency: transitive description: @@ -871,10 +871,10 @@ packages: dependency: transitive description: name: xml - sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" + sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556 url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.4.2" sdks: dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift b/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift index 99fcf813f..f3b2b063e 100644 --- a/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift +++ b/packages/hmssdk_flutter/ios/Classes/Actions/HMSAudioAction.swift @@ -18,10 +18,10 @@ class HMSAudioAction { isAudioMute(call, result, hmsSDK) case "mute_room_audio_locally": - toggleAudioMuteAll(result, hmsSDK, shouldMute: true,swiftHmssdkFlutterPlugin) + toggleAudioMuteAll(result, hmsSDK, shouldMute: true, swiftHmssdkFlutterPlugin) case "un_mute_room_audio_locally": - toggleAudioMuteAll(result, hmsSDK, shouldMute: false,swiftHmssdkFlutterPlugin) + toggleAudioMuteAll(result, hmsSDK, shouldMute: false, swiftHmssdkFlutterPlugin) case "set_volume": setVolume(call, result, hmsSDK) diff --git a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift index cb5b881c2..49136ec63 100644 --- a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift +++ b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift @@ -39,7 +39,7 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene private var sessionStoreChangeObservers = [HMSSessionStoreKeyChangeListener]() var hlsStreamUrl: String? - + private var isRoomAudioUnmutedLocally = true // MARK: - Flutter Setup @@ -1048,15 +1048,14 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene } } } - - + /** * This acts as a setter for [isRoomAudioUnmutedLocally] variable */ - func setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted:Bool){ + func setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted: Bool) { isRoomAudioUnmutedLocally = isRoomAudioUnmuted } - + // MARK: - Logging private var logLevel = HMSLogLevel.off @@ -1270,10 +1269,10 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene /** * Here we set the playback of the audio to false if the room is muted locally */ - if(track is HMSRemoteAudioTrack && update == .trackAdded && !isRoomAudioUnmutedLocally){ + if track is HMSRemoteAudioTrack && update == .trackAdded && !isRoomAudioUnmutedLocally { (track as! HMSRemoteAudioTrack).setPlaybackAllowed(false) } - + let data = [ "event_name": "on_track_update", "data": [ diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index 7a007bad9..c75c1e7a4 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -1,7 +1,7 @@ { "flutter": "1.9.3", - "ios": "1.2.1", + "ios": "1.3.0", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", - "android": "2.8.0" + "android": "2.8.1" } From b505b8556fc184b22ecab3426fd0e94af81eebe5 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 16 Nov 2023 18:17:08 +0530 Subject: [PATCH 34/40] Sanity build fixes (#1640) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated android sdk version * Added device selection in preview * 🤖 Automated Format and Fix * released sample app version 1.5.89 (389) 🍀 * updated dependencies --------- Co-authored-by: Decoder07 Co-authored-by: ygit Co-authored-by: Yogesh Singh --- .../lib/src/meeting/meeting_page.dart | 9 +- .../lib/src/meeting_screen_controller.dart | 7 +- .../preview_bottom_button_section.dart | 27 +- .../src/preview/preview_device_settings.dart | 412 +++++++++++++----- .../lib/src/preview/preview_page.dart | 12 +- .../lib/src/preview/preview_store.dart | 6 + .../audio_settings_bottom_sheet.dart | 6 +- .../hms/hmssdk_flutter/HmssdkFlutterPlugin.kt | 3 + .../example/ExampleAppChangelog.txt | 25 +- .../example/android/app/build.gradle | 4 +- .../example/ios/Runner/Info.plist | 4 +- .../Classes/SwiftHmssdkFlutterPlugin.swift | 1 + 12 files changed, 347 insertions(+), 169 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 4cc16a5d4..5bbc81f4d 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_page.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_page.dart @@ -40,8 +40,13 @@ import 'package:hms_room_kit/src/widgets/toasts/hms_recording_error_toast.dart'; class MeetingPage extends StatefulWidget { final String meetingLink; final bool isRoomMute; + final HMSAudioDevice currentAudioDeviceMode; + const MeetingPage( - {Key? key, required this.meetingLink, this.isRoomMute = true}) + {Key? key, + required this.meetingLink, + this.isRoomMute = true, + required this.currentAudioDeviceMode}) : super(key: key); @override @@ -65,6 +70,8 @@ class _MeetingPageState extends State { context.read().toggleSpeaker(); }); } + context.read().currentAudioDeviceMode = + widget.currentAudioDeviceMode; } void _enableForegroundService() { diff --git a/packages/hms_room_kit/lib/src/meeting_screen_controller.dart b/packages/hms_room_kit/lib/src/meeting_screen_controller.dart index 9e405c9b5..490e4565e 100644 --- a/packages/hms_room_kit/lib/src/meeting_screen_controller.dart +++ b/packages/hms_room_kit/lib/src/meeting_screen_controller.dart @@ -43,6 +43,9 @@ class MeetingScreenController extends StatefulWidget { ///For more details checkout the [HMSConfig] class final HMSConfig? config; + ///[currentAudioDeviceMode] is the current audio device mode + final HMSAudioDevice currentAudioDeviceMode; + const MeetingScreenController( {Key? key, required this.roomCode, @@ -52,7 +55,8 @@ class MeetingScreenController extends StatefulWidget { this.showStats = false, this.mirrorCamera = true, this.role, - this.config}) + this.config, + this.currentAudioDeviceMode = HMSAudioDevice.AUTOMATIC}) : super(key: key); @override @@ -95,6 +99,7 @@ class _MeetingScreenControllerState extends State { return MeetingPage( meetingLink: widget.roomCode, isRoomMute: widget.isRoomMute, + currentAudioDeviceMode: widget.currentAudioDeviceMode, ); }, selector: (_, meetingStore) => meetingStore.localPeer?.role.name); diff --git a/packages/hms_room_kit/lib/src/preview/preview_bottom_button_section.dart b/packages/hms_room_kit/lib/src/preview/preview_bottom_button_section.dart index b6728c363..f5aacf97a 100644 --- a/packages/hms_room_kit/lib/src/preview/preview_bottom_button_section.dart +++ b/packages/hms_room_kit/lib/src/preview/preview_bottom_button_section.dart @@ -1,6 +1,3 @@ -///Dart imports -import 'dart:io'; - ///Package imports import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; @@ -111,25 +108,17 @@ class PreviewBottomButtonSection extends StatelessWidget { .contains("audio")) HMSEmbeddedButton( onTap: () { - ///For iOS, This will open the native audio device selection UI - /// - ///For Android, it will open a bottom sheet - ///with the list of available audio devices - if (Platform.isIOS) { - previewStore.switchAudioOutputUsingiOSUI(); - } else { - showModalBottomSheet( - isScrollControlled: true, - backgroundColor: Colors.transparent, - context: context, - builder: (ctx) => ChangeNotifierProvider.value( - value: previewStore, - child: const PreviewDeviceSettings())); - } + showModalBottomSheet( + isScrollControlled: true, + backgroundColor: Colors.transparent, + context: context, + builder: (ctx) => ChangeNotifierProvider.value( + value: previewStore, + child: const PreviewDeviceSettings())); }, isActive: true, child: SvgPicture.asset( - 'packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(previewStore.currentAudioOutputDevice)}.svg', + 'packages/hms_room_kit/lib/src/assets/icons/${previewStore.isRoomMute ? "speaker_state_off" : Utilities.getAudioDeviceIconName(previewStore.currentAudioOutputDevice)}.svg', colorFilter: ColorFilter.mode( HMSThemeColors.onSurfaceHighEmphasis, BlendMode.srcIn), diff --git a/packages/hms_room_kit/lib/src/preview/preview_device_settings.dart b/packages/hms_room_kit/lib/src/preview/preview_device_settings.dart index 150a496bd..3b0772308 100644 --- a/packages/hms_room_kit/lib/src/preview/preview_device_settings.dart +++ b/packages/hms_room_kit/lib/src/preview/preview_device_settings.dart @@ -1,7 +1,9 @@ +///Dart imports +import 'dart:io'; + ///Package imports import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; -import 'package:hms_room_kit/src/widgets/common_widgets/hms_cross_button.dart'; import 'package:provider/provider.dart'; import 'package:tuple/tuple.dart'; import 'package:hmssdk_flutter/hmssdk_flutter.dart'; @@ -9,6 +11,7 @@ import 'package:hmssdk_flutter/hmssdk_flutter.dart'; ///Project imports import 'package:hms_room_kit/hms_room_kit.dart'; import 'package:hms_room_kit/src/preview/preview_store.dart'; +import 'package:hms_room_kit/src/widgets/common_widgets/hms_cross_button.dart'; ///This renders the audio device selection bottom sheet only on android ///It contains the list of available audio devices @@ -31,15 +34,15 @@ class _PreviewDeviceSettingsState extends State { return DraggableScrollableSheet( maxChildSize: (context.read().availableAudioOutputDevices.length + - 1.2) * + 2.2) * 0.1, minChildSize: (context.read().availableAudioOutputDevices.length + - 1) * + 2) * 0.1, initialChildSize: (context.read().availableAudioOutputDevices.length + - 1) * + 2) * 0.1, builder: (context, ScrollController scrollController) { return Container( @@ -88,133 +91,310 @@ class _PreviewDeviceSettingsState extends State { height: 5, ), ), - Expanded( - child: ListView.builder( - controller: scrollController, - itemCount: data.item2, - itemBuilder: (context, index) { - return Column( - children: [ - GestureDetector( - onTap: () { - context - .read() - .switchAudioOutput( - audioDevice: data.item1[index]); - Navigator.pop(context); - }, - - ///Here we are checking if the current audio device is automatic or not - ///If it is automatic then we render the automatic icon - ///else we render the audio device icon - /// - ///If the current audio device is the selected audio device then we render the tick icon - ///else we render an empty container - child: data.item1[index] == - HMSAudioDevice.AUTOMATIC - ? ListTile( - horizontalTitleGap: 2, - enabled: false, - contentPadding: EdgeInsets.zero, - leading: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item3)}.svg", + Platform.isIOS + ? Expanded( + child: ListView( + children: [ + GestureDetector( + onTap: () => { + Navigator.pop(context), + context + .read() + .switchAudioOutputUsingiOSUI() + }, + child: ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item3)}.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: "Auto", + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: !(context + .read() + .isRoomMute) + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", fit: BoxFit.scaleDown, colorFilter: ColorFilter.mode( HMSThemeColors .onSurfaceHighEmphasis, BlendMode.srcIn), ), - title: HMSSubtitleText( - fontSize: 14, - lineHeight: 20, - letterSpacing: 0.10, - fontWeight: FontWeight.w600, - text: - "${Utilities.getAudioDeviceName(data.item1[index])} (${Utilities.getAudioDeviceName(data.item3)})", - textColor: HMSThemeColors - .onSurfaceHighEmphasis, - ), - trailing: context - .read() - .currentAudioDeviceMode == - HMSAudioDevice.AUTOMATIC - ? SizedBox( - height: 24, - width: 24, - child: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/tick.svg", - fit: BoxFit.scaleDown, - colorFilter: - ColorFilter.mode( - HMSThemeColors - .onSurfaceHighEmphasis, - BlendMode - .srcIn), - ), - ) - : const SizedBox( - height: 24, - width: 24, - ), ) - : ListTile( - horizontalTitleGap: 2, - enabled: false, - contentPadding: EdgeInsets.zero, - leading: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item1[index])}.svg", + : const SizedBox( + height: 24, + width: 24, + ), + ), + ), + GestureDetector( + onTap: () => { + context + .read() + .toggleSpeaker(), + Navigator.pop(context) + }, + child: ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/speaker_state_off.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: "Mute Audio", + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: context + .read() + .isRoomMute + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", fit: BoxFit.scaleDown, colorFilter: ColorFilter.mode( HMSThemeColors .onSurfaceHighEmphasis, BlendMode.srcIn), ), - title: HMSSubtitleText( - text: Utilities - .getAudioDeviceName( - data.item1[index]), - fontSize: 14, - lineHeight: 20, - letterSpacing: 0.10, - fontWeight: FontWeight.w600, - textColor: HMSThemeColors - .onSurfaceHighEmphasis, - ), - trailing: data.item1[index] == - context - .read() - .currentAudioDeviceMode - ? SizedBox( - height: 24, - width: 24, - child: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/tick.svg", - fit: BoxFit.scaleDown, - colorFilter: - ColorFilter.mode( - HMSThemeColors - .onSurfaceHighEmphasis, - BlendMode - .srcIn), - ), - ) - : const SizedBox( - height: 24, - width: 24, - ), + ) + : const SizedBox( + height: 24, + width: 24, ), ), - Padding( - padding: const EdgeInsets.symmetric( - vertical: 5), - child: Divider( - color: HMSThemeColors.borderDefault, - height: 5, - )), - ], - ); - }), - ) + ) + ], + )) + : Expanded( + child: ListView.builder( + controller: scrollController, + itemCount: data.item2 + 1, + itemBuilder: (context, index) { + if (index == data.item2) { + return GestureDetector( + onTap: () => { + context + .read() + .toggleSpeaker(), + Navigator.pop(context) + }, + child: ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/speaker_state_off.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: "Mute Audio", + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: context + .read() + .isRoomMute + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + ) + : const SizedBox( + height: 24, + width: 24, + ), + ), + ); + } + return Column( + children: [ + GestureDetector( + onTap: () { + context + .read() + .switchAudioOutput( + audioDevice: + data.item1[index]); + Navigator.pop(context); + }, + + ///Here we are checking if the current audio device is automatic or not + ///If it is automatic then we render the automatic icon + ///else we render the audio device icon + /// + ///If the current audio device is the selected audio device then we render the tick icon + ///else we render an empty container + child: data.item1[index] == + HMSAudioDevice.AUTOMATIC + ? ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: + EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item3)}.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: + FontWeight.w600, + text: + "${Utilities.getAudioDeviceName(data.item1[index])} (${Utilities.getAudioDeviceName(data.item3)})", + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: (context + .read< + PreviewStore>() + .currentAudioDeviceMode == + HMSAudioDevice + .AUTOMATIC && + !context + .read< + PreviewStore>() + .isRoomMute) + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture + .asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", + fit: BoxFit + .scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode + .srcIn), + ), + ) + : const SizedBox( + height: 24, + width: 24, + ), + ) + : ListTile( + horizontalTitleGap: 2, + enabled: false, + contentPadding: + EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/${Utilities.getAudioDeviceIconName(data.item1[index])}.svg", + fit: BoxFit.scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubtitleText( + text: Utilities + .getAudioDeviceName( + data.item1[ + index]), + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.10, + fontWeight: + FontWeight.w600, + textColor: HMSThemeColors + .onSurfaceHighEmphasis, + ), + trailing: (data.item1[ + index] == + context + .read< + PreviewStore>() + .currentAudioDeviceMode && + !context + .read< + PreviewStore>() + .isRoomMute) + ? SizedBox( + height: 24, + width: 24, + child: SvgPicture + .asset( + "packages/hms_room_kit/lib/src/assets/icons/tick.svg", + fit: BoxFit + .scaleDown, + colorFilter: ColorFilter.mode( + HMSThemeColors + .onSurfaceHighEmphasis, + BlendMode + .srcIn), + ), + ) + : const SizedBox( + height: 24, + width: 24, + ), + ), + ), + Padding( + padding: + const EdgeInsets.symmetric( + vertical: 5), + child: Divider( + color: HMSThemeColors + .borderDefault, + height: 5, + )), + ], + ); + }), + ) ], ), ); diff --git a/packages/hms_room_kit/lib/src/preview/preview_page.dart b/packages/hms_room_kit/lib/src/preview/preview_page.dart index 9c5d3afeb..9b8c70ab7 100644 --- a/packages/hms_room_kit/lib/src/preview/preview_page.dart +++ b/packages/hms_room_kit/lib/src/preview/preview_page.dart @@ -187,11 +187,13 @@ class _PreviewPageState extends State { ? ListenableProvider.value( value: _meetingStore, child: MeetingScreenController( - role: previewStore.peer?.role, - roomCode: Constant.roomCode, - localPeerNetworkQuality: null, - user: nameController.text, - ), + role: previewStore.peer?.role, + roomCode: Constant.roomCode, + localPeerNetworkQuality: null, + user: nameController.text, + isRoomMute: previewStore.isRoomMute, + currentAudioDeviceMode: + previewStore.currentAudioDeviceMode), ) : SingleChildScrollView( ///We show circular progress indicator until the local peer is null 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 637b13bbe..486a56a99 100644 --- a/packages/hms_room_kit/lib/src/preview/preview_store.dart +++ b/packages/hms_room_kit/lib/src/preview/preview_store.dart @@ -284,12 +284,18 @@ class PreviewStore extends ChangeNotifier } void switchAudioOutput({required HMSAudioDevice audioDevice}) { + if (isRoomMute) { + toggleSpeaker(); + } currentAudioDeviceMode = audioDevice; hmsSDKInteractor.switchAudioOutput(audioDevice: audioDevice); notifyListeners(); } void switchAudioOutputUsingiOSUI() { + if (isRoomMute) { + toggleSpeaker(); + } hmsSDKInteractor.switchAudioOutputUsingiOSUI(); } diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart index 4ce973721..c4bccd18d 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/audio_settings_bottom_sheet.dart @@ -34,15 +34,15 @@ class _AudioSettingsBottomSheetState extends State { return DraggableScrollableSheet( maxChildSize: (context.read().availableAudioOutputDevices.length + - 1.4) * + 2.2) * 0.1, minChildSize: (context.read().availableAudioOutputDevices.length + - 1.2) * + 2) * 0.1, initialChildSize: (context.read().availableAudioOutputDevices.length + - 1.2) * + 2) * 0.1, builder: (context, ScrollController scrollController) { return Container( diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt index 1e329c54f..9a94405af 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt @@ -526,6 +526,7 @@ class HmssdkFlutterPlugin : HMSPipAction.disposePIP(activity) HMSPeerListIteratorAction.clearIteratorMap() removeAllKeyChangeListener() + setIsRoomAudioUnmutedLocally(true) } private fun destroy(result: Result) { @@ -872,6 +873,7 @@ class HmssdkFlutterPlugin : HMSPipAction.disposePIP(activity) HMSPeerListIteratorAction.clearIteratorMap() removeAllKeyChangeListener() + setIsRoomAudioUnmutedLocally(true) } private fun isAllowedToEndMeeting(): Boolean? { @@ -1125,6 +1127,7 @@ class HmssdkFlutterPlugin : HMSPipAction.disposePIP(activity) HMSPeerListIteratorAction.clearIteratorMap() removeAllKeyChangeListener() + setIsRoomAudioUnmutedLocally(true) } if (args["data"] != null) { CoroutineScope(Dispatchers.Main).launch { diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 7051f9698..306e6529a 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -3,25 +3,10 @@ Board: https://100ms.atlassian.net/jira/software/projects/FLUT/boards/34/ Implement sending of Subscriber Stats - https://100ms.atlassian.net/browse/FLUT-134 -Upgrade Android SDK to fix Auto simulcast issue in HmsVideoView -- https://100ms.atlassian.net/browse/FLUT-145 +Prebuilt: Add options to Mute Session or change Audio Output +- https://100ms.atlassian.net/browse/FLUT-155 -Remove default usage of Software Echo Cancellation -- https://100ms.atlassian.net/browse/FLUT-146 - -Post call interruption fix -- https://100ms.atlassian.net/browse/FLUT-143 - -Persist Room meeting link after successfully joining the Room -- https://100ms.atlassian.net/browse/FLUT-147 - -Incorrect DateTime format on iOS prevents the user from Joining a Room -- https://100ms.atlassian.net/browse/FLUT-144 - -To handle error in case the logo url returns error -- https://100ms.atlassian.net/browse/FLUT-152 - -Room Kit: 1.0.3 -Core SDK: 1.9.2 +Room Kit: 1.0.4 +Core SDK: 1.9.3 Android SDK: 2.8.0 -iOS SDK: 1.2.0 +iOS SDK: 1.2.1 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 1d963de84..436bbed0d 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 388 - versionName "1.5.88" + versionCode 389 + versionName "1.5.89" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 670b17342..dc82ad37a 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.88 + 1.5.89 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 388 + 389 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift index 49136ec63..af19a0367 100644 --- a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift +++ b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift @@ -1575,5 +1575,6 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene removeAllKeyChangeListener() removeHMSLogger() HMSPeerListIteratorAction.clearIteratorMap() + setIsRoomAudioUnmutedLocally(isRoomAudioUnmuted: true) } } From bc706b790e9cae2c4ec76aa9316bc02aa605b3cb Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 16 Nov 2023 19:08:55 +0530 Subject: [PATCH 35/40] =?UTF-8?q?released=20sample=20app=20version=201.5.9?= =?UTF-8?q?0=20(390)=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 436bbed0d..65f6c5cca 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 389 - versionName "1.5.89" + versionCode 390 + versionName "1.5.90" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index dc82ad37a..e01349c8a 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.89 + 1.5.91 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 389 + 391 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 314bdd18965a44723695799d69be08c8e7d062ba Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 16 Nov 2023 19:19:58 +0530 Subject: [PATCH 36/40] updated usage of optionals --- .../ios/Classes/Models/HMSHLSVariantExtension.swift | 2 +- .../hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/hmssdk_flutter/ios/Classes/Models/HMSHLSVariantExtension.swift b/packages/hmssdk_flutter/ios/Classes/Models/HMSHLSVariantExtension.swift index 67c043d8f..ce7ffb2ff 100644 --- a/packages/hmssdk_flutter/ios/Classes/Models/HMSHLSVariantExtension.swift +++ b/packages/hmssdk_flutter/ios/Classes/Models/HMSHLSVariantExtension.swift @@ -18,7 +18,7 @@ class HMSHLSVariantExtension { dict["metadata"] = hmshlsVariant.metadata - dict["hls_stream_url"] = hmshlsVariant.url.absoluteString + dict["hls_stream_url"] = hmshlsVariant.url?.absoluteString if let startedAt = hmshlsVariant.startedAt { dict["started_at"] = "\(startedAt)" diff --git a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift index af19a0367..cc60287fb 100644 --- a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift +++ b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift @@ -1202,7 +1202,7 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene if room.hlsStreamingState.running { if !room.hlsStreamingState.variants.isEmpty { - hlsStreamUrl = room.hlsStreamingState.variants[0].url.absoluteString + hlsStreamUrl = room.hlsStreamingState.variants[0].url?.absoluteString } } @@ -1227,7 +1227,7 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene if room.hlsStreamingState.running { if !room.hlsStreamingState.variants.isEmpty { - hlsStreamUrl = room.hlsStreamingState.variants[0].url.absoluteString + hlsStreamUrl = room.hlsStreamingState.variants[0].url?.absoluteString } } From 08ecba362e849a4bb3a46c1a03259954dc5b6810 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 16 Nov 2023 19:20:10 +0530 Subject: [PATCH 37/40] updated Example app changelog --- packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 306e6529a..4a7485c5a 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -1,4 +1,5 @@ Board: https://100ms.atlassian.net/jira/software/projects/FLUT/boards/34/ +Release: https://100ms.atlassian.net/projects/FLUT/versions/10598/ Implement sending of Subscriber Stats - https://100ms.atlassian.net/browse/FLUT-134 @@ -8,5 +9,5 @@ Prebuilt: Add options to Mute Session or change Audio Output Room Kit: 1.0.4 Core SDK: 1.9.3 -Android SDK: 2.8.0 -iOS SDK: 1.2.1 +Android SDK: 2.8.1 +iOS SDK: 1.3.0 From 35554b4c159d5c6bd82a0ad3f94a9197814171a6 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Fri, 17 Nov 2023 18:40:33 +0530 Subject: [PATCH 38/40] Added Changelog (#1641) * Added changelog * Updated app changelog --- packages/hms_room_kit/CHANGELOG.md | 6 ++++++ packages/hmssdk_flutter/CHANGELOG.md | 10 ++++++++++ .../hmssdk_flutter/example/ExampleAppChangelog.txt | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/hms_room_kit/CHANGELOG.md b/packages/hms_room_kit/CHANGELOG.md index ead5c3d92..b525226ac 100644 --- a/packages/hms_room_kit/CHANGELOG.md +++ b/packages/hms_room_kit/CHANGELOG.md @@ -5,6 +5,12 @@ | 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.0.6 - 2023-11-17 + +### 🚀 Added + +- Added options to Mute Session or Change Audio Output + ## 1.0.5 - 2023-11-09 ### 🚀 Fixed diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index 89ff49e1d..04a05d7de 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/CHANGELOG.md @@ -5,6 +5,16 @@ | 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.9.3 - 2023-11-17 + +### Added + +- Added `Subscriber Stats` for improved debugging of subscription issues. + +Updated to Android SDK 2.8.1 & iOS SDK 1.3.0 + +**Full Changelog**: [1.9.2...1.9.3](https://github.com/100mslive/100ms-flutter/compare/1.9.2...1.9.3) + ## 1.9.2 - 2023-11-09 ### Changed diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 4a7485c5a..4394895ca 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -7,7 +7,7 @@ Implement sending of Subscriber Stats Prebuilt: Add options to Mute Session or change Audio Output - https://100ms.atlassian.net/browse/FLUT-155 -Room Kit: 1.0.4 +Room Kit: 1.0.6 Core SDK: 1.9.3 Android SDK: 2.8.1 iOS SDK: 1.3.0 From 7c1ffeffa731b728c6565621ef5c5ed3cb061df9 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 17 Nov 2023 19:10:15 +0530 Subject: [PATCH 39/40] Updated sdk version in room kit --- packages/hms_room_kit/example/pubspec.lock | 41 +++++++++++----------- packages/hms_room_kit/pubspec.lock | 41 +++++++++++----------- packages/hms_room_kit/pubspec.yaml | 3 +- 3 files changed, 43 insertions(+), 42 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 98a551f95..2a4a4c279 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -69,10 +69,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" convert: dependency: transitive description: @@ -226,9 +226,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: "../../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: "70d00820ab5cb02c03c2d4f41be70dd9dc3406521a469b8989d1e650232efd9a" + url: "https://pub.dev" + source: hosted version: "1.9.3" http: dependency: transitive @@ -306,10 +307,10 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.9.1" mime: dependency: transitive description: @@ -434,10 +435,10 @@ packages: dependency: transitive description: name: petitparser - sha256: eeb2d1428ee7f4170e2bd498827296a18d4e7fc462b71727d111c0ac7707cfa6 + sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 url: "https://pub.dev" source: hosted - version: "6.0.1" + version: "5.4.0" platform: dependency: transitive description: @@ -567,18 +568,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -599,10 +600,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.6.0" tuple: dependency: transitive description: @@ -735,10 +736,10 @@ packages: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "0.1.4-beta" win32: dependency: transitive description: @@ -759,10 +760,10 @@ packages: dependency: transitive description: name: xml - sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556 + sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" url: "https://pub.dev" source: hosted - version: "6.4.2" + version: "6.3.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.1.0 <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index f98e1f59d..ae183bce6 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -69,10 +69,10 @@ packages: dependency: "direct main" description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" convert: dependency: transitive description: @@ -211,9 +211,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - path: "../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: "70d00820ab5cb02c03c2d4f41be70dd9dc3406521a469b8989d1e650232efd9a" + url: "https://pub.dev" + source: hosted version: "1.9.3" http: dependency: transitive @@ -291,10 +292,10 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.9.1" mime: dependency: transitive description: @@ -419,10 +420,10 @@ packages: dependency: transitive description: name: petitparser - sha256: eeb2d1428ee7f4170e2bd498827296a18d4e7fc462b71727d111c0ac7707cfa6 + sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 url: "https://pub.dev" source: hosted - version: "6.0.1" + version: "5.4.0" platform: dependency: transitive description: @@ -552,18 +553,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -584,10 +585,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.6.0" tuple: dependency: "direct main" description: @@ -720,10 +721,10 @@ packages: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "0.1.4-beta" win32: dependency: transitive description: @@ -744,10 +745,10 @@ packages: dependency: transitive description: name: xml - sha256: af5e77e9b83f2f4adc5d3f0a4ece1c7f45a2467b695c2540381bac793e34e556 + sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" url: "https://pub.dev" source: hosted - version: "6.4.2" + version: "6.3.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.1.0 <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index 07415a5e9..7c29af1ec 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.9.3 intl: ^0.18.1 permission_handler: ^11.0.0 provider: ^6.0.5 From acd71cc3bbf0b06074ffbdfb97f0daf5e2eaef99 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 17 Nov 2023 13:41:22 +0000 Subject: [PATCH 40/40] =?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 927036a19..21f970300 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -298,9 +298,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: ".." - relative: true - source: path + name: hmssdk_flutter + sha256: "70d00820ab5cb02c03c2d4f41be70dd9dc3406521a469b8989d1e650232efd9a" + url: "https://pub.dev" + source: hosted version: "1.9.3" http: dependency: transitive