diff --git a/dogfooding/linux/flutter/generated_plugin_registrant.cc b/dogfooding/linux/flutter/generated_plugin_registrant.cc index 990ec5d8c..aac6d2082 100644 --- a/dogfooding/linux/flutter/generated_plugin_registrant.cc +++ b/dogfooding/linux/flutter/generated_plugin_registrant.cc @@ -13,7 +13,6 @@ #include #include #include -#include void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) desktop_drop_registrar = @@ -37,7 +36,4 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); - g_autoptr(FlPluginRegistrar) volume_controller_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "VolumeControllerPlugin"); - volume_controller_plugin_register_with_registrar(volume_controller_registrar); } diff --git a/dogfooding/linux/flutter/generated_plugins.cmake b/dogfooding/linux/flutter/generated_plugins.cmake index 0454a4f7b..cb6199650 100644 --- a/dogfooding/linux/flutter/generated_plugins.cmake +++ b/dogfooding/linux/flutter/generated_plugins.cmake @@ -10,7 +10,6 @@ list(APPEND FLUTTER_PLUGIN_LIST record_linux stream_webrtc_flutter url_launcher_linux - volume_controller ) list(APPEND FLUTTER_FFI_PLUGIN_LIST diff --git a/dogfooding/windows/flutter/CMakeLists.txt b/dogfooding/windows/flutter/CMakeLists.txt index 930d2071a..903f4899d 100644 --- a/dogfooding/windows/flutter/CMakeLists.txt +++ b/dogfooding/windows/flutter/CMakeLists.txt @@ -10,6 +10,11 @@ include(${EPHEMERAL_DIR}/generated_config.cmake) # https://github.com/flutter/flutter/issues/57146. set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") +# Set fallback configurations for older versions of the flutter tool. +if (NOT DEFINED FLUTTER_TARGET_PLATFORM) + set(FLUTTER_TARGET_PLATFORM "windows-x64") +endif() + # === Flutter Library === set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") @@ -92,7 +97,7 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -E env ${FLUTTER_TOOL_ENVIRONMENT} "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - windows-x64 $ + ${FLUTTER_TARGET_PLATFORM} $ VERBATIM ) add_custom_target(flutter_assemble DEPENDS diff --git a/dogfooding/windows/flutter/generated_plugins.cmake b/dogfooding/windows/flutter/generated_plugins.cmake index b24973bba..dbc2897e9 100644 --- a/dogfooding/windows/flutter/generated_plugins.cmake +++ b/dogfooding/windows/flutter/generated_plugins.cmake @@ -14,11 +14,11 @@ list(APPEND FLUTTER_PLUGIN_LIST media_kit_video permission_handler_windows record_windows + screen_brightness_windows share_plus stream_webrtc_flutter thumblr_windows url_launcher_windows - volume_controller ) list(APPEND FLUTTER_FFI_PLUGIN_LIST diff --git a/melos.yaml b/melos.yaml index 2042bc35b..cb7078ac0 100644 --- a/melos.yaml +++ b/melos.yaml @@ -22,7 +22,7 @@ command: device_info_plus: ">=10.1.2 <12.0.0" share_plus: ^11.0.0 stream_chat_flutter: ^9.8.0 - stream_webrtc_flutter: ^1.0.9 + stream_webrtc_flutter: ^1.0.10 stream_video: ^0.10.1 stream_video_flutter: ^0.10.1 stream_video_noise_cancellation: ^0.10.1 diff --git a/packages/stream_video/CHANGELOG.md b/packages/stream_video/CHANGELOG.md index 463199bd6..116850ea7 100644 --- a/packages/stream_video/CHANGELOG.md +++ b/packages/stream_video/CHANGELOG.md @@ -9,7 +9,8 @@ * Deprecated `callRejoinTimeout` in `RetryConfig`, instead added `networkAvailabilityTimeout` to `CallPreferences` to control how long the SDK waits for network connectivity to be restored during reconnection attempts before timing out. 🐞 Fixed -* Sorting of participants after screen sharing stopped.s +* Sorting of participants after screen sharing stopped. +* Fixed `DtlsSrtpKeyAgreement` audio constraint parameter mapping 🔄 Dependency updates * Updated `flutter_callkit_incoming` dependency to the latests (2.5.5) version. That version contains Android 14 compatibility fixes for ringing notifications and lock screen handling. diff --git a/packages/stream_video/lib/src/webrtc/media/audio_constraints.dart b/packages/stream_video/lib/src/webrtc/media/audio_constraints.dart index 4a2d31543..f833daaab 100644 --- a/packages/stream_video/lib/src/webrtc/media/audio_constraints.dart +++ b/packages/stream_video/lib/src/webrtc/media/audio_constraints.dart @@ -53,7 +53,7 @@ class AudioConstraints extends MediaConstraints { {'googAutoGainControl': autoGainControl}, {'googHighpassFilter': highPassFilter}, {'googTypingNoiseDetection': typingNoiseDetection}, - {'DtlsSrtpKeyAgreement': 'true'}, + {'DtlsSrtpKeyAgreement': true}, ]; } diff --git a/packages/stream_video/pubspec.yaml b/packages/stream_video/pubspec.yaml index f7828351f..81f68311e 100644 --- a/packages/stream_video/pubspec.yaml +++ b/packages/stream_video/pubspec.yaml @@ -31,7 +31,7 @@ dependencies: rxdart: ^0.28.0 sdp_transform: ^0.3.2 state_notifier: ^1.0.0 - stream_webrtc_flutter: ^1.0.9 + stream_webrtc_flutter: ^1.0.10 synchronized: ^3.1.0 system_info2: ^4.0.0 tart: ^0.5.1 diff --git a/packages/stream_video_flutter/example/pubspec.yaml b/packages/stream_video_flutter/example/pubspec.yaml index 9da5ce728..f21bffb9f 100644 --- a/packages/stream_video_flutter/example/pubspec.yaml +++ b/packages/stream_video_flutter/example/pubspec.yaml @@ -30,7 +30,7 @@ dependencies: stream_video: ^0.10.1 stream_video_flutter: ^0.10.1 stream_video_push_notification: ^0.10.1 - stream_webrtc_flutter: ^1.0.9 + stream_webrtc_flutter: ^1.0.10 dependency_overrides: stream_video: diff --git a/packages/stream_video_flutter/pubspec.yaml b/packages/stream_video_flutter/pubspec.yaml index dd2e9cf89..6a80b191e 100644 --- a/packages/stream_video_flutter/pubspec.yaml +++ b/packages/stream_video_flutter/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: plugin_platform_interface: ^2.1.8 rate_limiter: ^1.0.0 stream_video: ^0.10.1 - stream_webrtc_flutter: ^1.0.9 + stream_webrtc_flutter: ^1.0.10 visibility_detector: ^0.4.0+2 dev_dependencies: diff --git a/packages/stream_video_noise_cancellation/pubspec.yaml b/packages/stream_video_noise_cancellation/pubspec.yaml index 805a78797..3031285f2 100644 --- a/packages/stream_video_noise_cancellation/pubspec.yaml +++ b/packages/stream_video_noise_cancellation/pubspec.yaml @@ -14,7 +14,7 @@ dependencies: sdk: flutter plugin_platform_interface: ^2.0.2 stream_video: ^0.10.1 - stream_webrtc_flutter: ^1.0.9 + stream_webrtc_flutter: ^1.0.10 dev_dependencies: flutter_test: diff --git a/packages/stream_video_push_notification/pubspec.yaml b/packages/stream_video_push_notification/pubspec.yaml index 9395743e0..c914dc531 100644 --- a/packages/stream_video_push_notification/pubspec.yaml +++ b/packages/stream_video_push_notification/pubspec.yaml @@ -24,7 +24,7 @@ dependencies: stream_video: ^0.10.1 uuid: ^4.2.1 shared_preferences: ^2.3.2 - stream_webrtc_flutter: ^1.0.9 + stream_webrtc_flutter: ^1.0.10 dev_dependencies: build_runner: ^2.4.4