diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fe5a388..4afee6d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,21 @@ All user visible changes to this project will be documented in this file. This p +## [master] · unreleased +[master]: /../../tree/master + +[Diff](https://github.com/instrumentisto/medea-jason/compare/medea-jason-0.7.0...master) + +### Upgraded + +- Dependencies: + - [`flutter_rust_bridge`] to 2.7.0 version. ([#195]) + +[#195]: /../../pull/195 + + + + ## [0.7.0] · 2024-10-29 [0.7.0]: /../../tree/medea-jason-0.7.0 diff --git a/Cargo.lock b/Cargo.lock index 7146b20e..ec807a02 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1061,10 +1061,10 @@ dependencies = [ ] [[package]] -name = "dart-sys-fork" -version = "4.1.1" +name = "dart-sys" +version = "4.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "933dafff26172b719bb9695dd3715a1e7792f62dcdc8a5d4c740db7e0fedee8b" +checksum = "57967e4b200d767d091b961d6ab42cc7d0cc14fe9e052e75d0d3cf9eb732d895" dependencies = [ "cc", ] @@ -1296,16 +1296,16 @@ dependencies = [ [[package]] name = "flutter_rust_bridge" -version = "2.4.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff967a5893be60d849e4362910762acdc275febe44333153a11dcec1bca2cd2" +checksum = "5419323ff3ae8b63ed20b7cd0fd0e3e73fa9234b3b212b87b5586fe76ae52318" dependencies = [ "allo-isolate", "anyhow", "build-target", "bytemuck", "byteorder", - "dart-sys-fork", + "dart-sys", "delegate-attr", "flutter_rust_bridge_macros", "futures", @@ -1319,9 +1319,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge_macros" -version = "2.4.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48b4d3fae9d29377b19134a38386d8792bde70b9448cde49e96391bcfc8fed1" +checksum = "9c6fd06cacc0dfe931d00f3acdc5ac6c5dd9382b33dd78d71cce8f0a62e9458b" dependencies = [ "hex", "md-5", @@ -2314,7 +2314,7 @@ dependencies = [ "bitflags", "cc", "console_error_panic_hook", - "dart-sys-fork", + "dart-sys", "derivative", "derive_more 1.0.0", "flutter_rust_bridge", diff --git a/Cargo.toml b/Cargo.toml index 38984fea..2fe1f756 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,9 +63,8 @@ android_logger = "0.14" simple_logger = "5.0" [target.'cfg(not(target_family = "wasm"))'.dependencies] -# TODO: Switch to `dart-sys` once `flutter_rust_bridge` does. -dart-sys = { version = "4.1", package = "dart-sys-fork" } -flutter_rust_bridge = { version = "=2.4.0", features = ["anyhow", "dart-opaque", "rust-async"], default-features = false } +dart-sys = "4.1" +flutter_rust_bridge = { version = "=2.7.0", features = ["anyhow", "dart-opaque", "rust-async"], default-features = false } libc = "0.2" send_wrapper = "0.6" diff --git a/Makefile b/Makefile index 88752783..cdedf845 100644 --- a/Makefile +++ b/Makefile @@ -442,7 +442,7 @@ endif --no-web \ --local cd flutter && \ - dart pub run build_runner build --delete-conflicting-outputs + dart run build_runner build --delete-conflicting-outputs # Lint Rust sources with Clippy. diff --git a/flutter/CHANGELOG.md b/flutter/CHANGELOG.md index d665a9a8..8fc2c5d0 100644 --- a/flutter/CHANGELOG.md +++ b/flutter/CHANGELOG.md @@ -6,7 +6,22 @@ All user visible changes to this project will be documented in this file. This p -## [0.7.0] · 2024-??-?? (unreleased) +## [master] · unreleased +[master]: /../../tree/master/flutter + +See also [`medea-jason` crate `master` changes](/../../tree/master/CHANGELOG.md). + +### Upgraded + +- Dependencies: + - [`flutter_rust_bridge`] to 2.7.0 version. ([#195]) + +[#195]: /../../pull/195 + + + + +## [0.7.0] · 2024-10-29 [0.7.0]: /../../tree/medea-jason-0.7.0/flutter See also [`medea-jason` crate 0.7.0 changes](/../../tree/medea-jason-0.7.0/CHANGELOG.md). diff --git a/flutter/example/ios/Podfile.lock b/flutter/example/ios/Podfile.lock index 45f22b53..c07f0ec5 100644 --- a/flutter/example/ios/Podfile.lock +++ b/flutter/example/ios/Podfile.lock @@ -1,11 +1,11 @@ PODS: - Flutter (1.0.0) - - instrumentisto-libwebrtc-bin (130.0.6723.69) + - instrumentisto-libwebrtc-bin (131.0.6778.108) - integration_test (0.0.1): - Flutter - medea_flutter_webrtc (0.11.2): - Flutter - - instrumentisto-libwebrtc-bin (= 130.0.6723.69) + - instrumentisto-libwebrtc-bin (= 131.0.6778.108) - medea_jason (0.7.0): - Flutter @@ -31,10 +31,10 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - instrumentisto-libwebrtc-bin: 769972c5c8a2b370ab2d6b242180e0bba64bd5c3 + instrumentisto-libwebrtc-bin: f3eb741f5bbc90fd5503f1000f29820b72edc9aa integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573 - medea_flutter_webrtc: 2edd16f21de79901c91cd7dc3e132b3bf5af3b3a - medea_jason: f07b27618ffacbd5a79756000a2e335ccb5a25b6 + medea_flutter_webrtc: c8ae806ecf2ba317db5c16b374c2ae9accc4be95 + medea_jason: dd2579ca796f0bff007212896cc27e333d6b4c9c PODFILE CHECKSUM: 645e03ec353e4a50b5c4f39a89c4acce2cfd4faf diff --git a/flutter/example/lib/join_route.dart b/flutter/example/lib/join_route.dart index cd609981..95597719 100644 --- a/flutter/example/lib/join_route.dart +++ b/flutter/example/lib/join_route.dart @@ -66,7 +66,7 @@ class _JoinRouteState extends State { style: TextButton.styleFrom( foregroundColor: Colors.white, backgroundColor: Colors.blue, - disabledForegroundColor: Colors.grey.withOpacity(0.38), + disabledForegroundColor: Colors.grey.withAlpha(0x60), ), onPressed: () { Navigator.push( diff --git a/flutter/example/pubspec.lock b/flutter/example/pubspec.lock index a0822a5a..96024d8f 100644 --- a/flutter/example/pubspec.lock +++ b/flutter/example/pubspec.lock @@ -21,10 +21,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -93,26 +93,26 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.0" convert: dependency: transitive description: name: convert - sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" + sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.2" crypto: dependency: transitive description: name: crypto - sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" cupertino_icons: dependency: "direct main" description: @@ -191,10 +191,10 @@ packages: dependency: transitive description: name: flutter_rust_bridge - sha256: a43a6649385b853bc836ef2bc1b056c264d476c35e131d2d69c38219b5e799f1 + sha256: "35c257fc7f98e34c1314d6c145e5ed54e7c94e8a9f469947e31c9298177d546f" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.7.0" flutter_test: dependency: "direct dev" description: flutter @@ -241,10 +241,10 @@ packages: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "76d306a1c3afb33fe82e2bbacad62a61f409b5634c915fceb0d799de1a913360" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.1" integration_test: dependency: "direct dev" description: flutter @@ -262,26 +262,26 @@ packages: dependency: "direct dev" description: name: json_serializable - sha256: ea1432d167339ea9b5bb153f0571d0039607a873d6e04e0117af043f14a1fd4b + sha256: c2fcb3920cf2b6ae6845954186420fca40bc0a8abcc84903b7801f17d7050d7c url: "https://pub.dev" source: hosted - version: "6.8.0" + version: "6.9.0" leak_tracker: dependency: transitive description: name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted - version: "10.0.5" + version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.8" leak_tracker_testing: dependency: transitive description: @@ -302,10 +302,10 @@ packages: dependency: transitive description: name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" matcher: dependency: transitive description: @@ -326,10 +326,10 @@ packages: dependency: "direct main" description: name: medea_flutter_webrtc - sha256: a15dd20e4a45250e1f966094ad6fbcb9283c861a3b4acdbde0f721ae51184b12 + sha256: "5a30b751223b5305c6d75b8d23ec85bed94e00cc2919d438255c03f1a795a4f6" url: "https://pub.dev" source: hosted - version: "0.11.2" + version: "0.12.0" medea_jason: dependency: "direct main" description: @@ -349,10 +349,10 @@ packages: dependency: transitive description: name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" + sha256: "92d4488434b520a62570293fbd33bb556c7d49230791c1b4bbd973baf6d2dc67" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" path: dependency: transitive description: @@ -381,10 +381,10 @@ packages: dependency: transitive description: name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" + sha256: "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" pubspec_parse: dependency: transitive description: @@ -405,7 +405,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_gen: dependency: transitive description: @@ -434,10 +434,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.0" stream_channel: dependency: transitive description: @@ -450,10 +450,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" sync_http: dependency: transitive description: @@ -474,10 +474,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.7.2" + version: "0.7.3" tuple: dependency: transitive description: @@ -490,10 +490,10 @@ packages: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" uuid: dependency: "direct overridden" description: @@ -514,10 +514,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted - version: "14.2.5" + version: "14.3.0" watcher: dependency: transitive description: @@ -530,18 +530,18 @@ packages: dependency: transitive description: name: web - sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 + sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.1.0" webdriver: dependency: transitive description: name: webdriver - sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e" + sha256: "3d773670966f02a646319410766d3b5e1037efb7f07cc68f844d5e06cd4d61c8" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.4" yaml: dependency: transitive description: diff --git a/flutter/example/pubspec.yaml b/flutter/example/pubspec.yaml index 86dfa0c7..0f1d79be 100644 --- a/flutter/example/pubspec.yaml +++ b/flutter/example/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: faker_dart: ^0.2.2 freezed_annotation: ^2.4.1 http: ">=0.13.6 <2.0.0" - medea_flutter_webrtc: ^0.11.2 + medea_flutter_webrtc: ^0.12.0 retry: ^3.1.2 dev_dependencies: diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api.dart b/flutter/lib/src/native/ffi/frb/api/dart/api.dart index 5c04f70d..4adad253 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/connection_handle.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/connection_handle.dart index fd8d2b85..84681dfc 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/connection_handle.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/connection_handle.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/jason.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/jason.dart index 2f9fb5a6..ce407451 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/jason.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/jason.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/local_media_track.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/local_media_track.dart index 9afb2e72..3ef728fe 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/local_media_track.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/local_media_track.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/media_manager.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/media_manager.dart index b472c95e..0f533436 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/media_manager.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/media_manager.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/reconnect_handle.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/reconnect_handle.dart index ab2a8691..cb183493 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/reconnect_handle.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/reconnect_handle.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/remote_media_track.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/remote_media_track.dart index 6a455ebb..b343ef4b 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/remote_media_track.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/remote_media_track.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/room.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/room.dart index 7da28a8f..d443b279 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/room.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/room.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/api/dart/api/room_close_reason.dart b/flutter/lib/src/native/ffi/frb/api/dart/api/room_close_reason.dart index 4bf02cfb..f02362cd 100644 --- a/flutter/lib/src/native/ffi/frb/api/dart/api/room_close_reason.dart +++ b/flutter/lib/src/native/ffi/frb/api/dart/api/room_close_reason.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/frb_generated.dart b/flutter/lib/src/native/ffi/frb/frb_generated.dart index 73831bd4..29882826 100644 --- a/flutter/lib/src/native/ffi/frb/frb_generated.dart +++ b/flutter/lib/src/native/ffi/frb/frb_generated.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field @@ -78,7 +78,7 @@ class RustLib extends BaseEntrypoint { kDefaultExternalLibraryLoaderConfig; @override - String get codegenVersion => '2.4.0'; + String get codegenVersion => '2.7.0'; @override int get rustContentHash => 223637457; @@ -92,20 +92,6 @@ class RustLib extends BaseEntrypoint { } abstract class RustLibApi extends BaseApi { - void crateApiDartApiLogDartException( - {required String message, required String stackTrace}); - - void crateApiDartApiOnPanic({required Object cb}); - - void crateApiDartApiSetDartOpaqueMessagePort( - {required PlatformInt64 dartHandlerPort}); - - List crateApiDartApiVecMediaDeviceDetailsFromRaw( - {required int ptr}); - - List crateApiDartApiVecMediaDisplayDetailsFromRaw( - {required int ptr}); - Object crateApiDartApiConnectionHandleConnectionHandleDisableRemoteAudio( {required ConnectionHandle that}); @@ -172,9 +158,6 @@ abstract class RustLibApi extends BaseApi { Object crateApiDartApiLocalMediaTrackLocalMediaTrackState( {required LocalMediaTrack that}); - List crateApiDartApiLocalMediaTrackVecLocalTracksFromRaw( - {required int ptr}); - Object crateApiDartApiMediaManagerMediaManagerHandleEnumerateDevices( {required MediaManagerHandle that}); @@ -300,9 +283,26 @@ abstract class RustLibApi extends BaseApi { Object crateApiDartApiRoomRoomHandleUnmuteVideo( {required RoomHandle that, MediaSourceKind? sourceKind}); + void crateApiDartApiLogDartException( + {required String message, required String stackTrace}); + + void crateApiDartApiOnPanic({required Object cb}); + RoomCloseReason crateApiDartApiRoomCloseReasonRoomCloseReasonFromPtr( {required int ptr}); + void crateApiDartApiSetDartOpaqueMessagePort( + {required PlatformInt64 dartHandlerPort}); + + List crateApiDartApiLocalMediaTrackVecLocalTracksFromRaw( + {required int ptr}); + + List crateApiDartApiVecMediaDeviceDetailsFromRaw( + {required int ptr}); + + List crateApiDartApiVecMediaDisplayDetailsFromRaw( + {required int ptr}); + RustArcIncrementStrongCountFnType get rust_arc_increment_strong_count_ConnectionHandle; @@ -371,130 +371,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { required super.portManager, }); - @override - void crateApiDartApiLogDartException( - {required String message, required String stackTrace}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_String(message, serializer); - sse_encode_String(stackTrace, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 2)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_unit, - decodeErrorData: null, - ), - constMeta: kCrateApiDartApiLogDartExceptionConstMeta, - argValues: [message, stackTrace], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiDartApiLogDartExceptionConstMeta => - const TaskConstMeta( - debugName: "log_dart_exception", - argNames: ["message", "stackTrace"], - ); - - @override - void crateApiDartApiOnPanic({required Object cb}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_DartOpaque(cb, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 3)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_unit, - decodeErrorData: null, - ), - constMeta: kCrateApiDartApiOnPanicConstMeta, - argValues: [cb], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiDartApiOnPanicConstMeta => const TaskConstMeta( - debugName: "on_panic", - argNames: ["cb"], - ); - - @override - void crateApiDartApiSetDartOpaqueMessagePort( - {required PlatformInt64 dartHandlerPort}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_i_64(dartHandlerPort, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 4)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_unit, - decodeErrorData: null, - ), - constMeta: kCrateApiDartApiSetDartOpaqueMessagePortConstMeta, - argValues: [dartHandlerPort], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiDartApiSetDartOpaqueMessagePortConstMeta => - const TaskConstMeta( - debugName: "set_dart_opaque_message_port", - argNames: ["dartHandlerPort"], - ); - - @override - List crateApiDartApiVecMediaDeviceDetailsFromRaw( - {required int ptr}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_list_api_media_device_details, - decodeErrorData: null, - ), - constMeta: kCrateApiDartApiVecMediaDeviceDetailsFromRawConstMeta, - argValues: [ptr], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiDartApiVecMediaDeviceDetailsFromRawConstMeta => - const TaskConstMeta( - debugName: "vec_media_device_details_from_raw", - argNames: ["ptr"], - ); - - @override - List crateApiDartApiVecMediaDisplayDetailsFromRaw( - {required int ptr}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; - }, - codec: SseCodec( - decodeSuccessData: sse_decode_list_api_media_display_details, - decodeErrorData: null, - ), - constMeta: kCrateApiDartApiVecMediaDisplayDetailsFromRawConstMeta, - argValues: [ptr], - apiImpl: this, - )); - } - - TaskConstMeta get kCrateApiDartApiVecMediaDisplayDetailsFromRawConstMeta => - const TaskConstMeta( - debugName: "vec_media_display_details_from_raw", - argNames: ["ptr"], - ); - @override Object crateApiDartApiConnectionHandleConnectionHandleDisableRemoteAudio( {required ConnectionHandle that}) { @@ -503,7 +379,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 1)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -532,7 +408,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 8)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 2)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -560,7 +436,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 9)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 3)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -589,7 +465,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 10)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 4)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -616,7 +492,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 11)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 5)!; }, codec: SseCodec( decodeSuccessData: @@ -645,7 +521,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 12)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 6)!; }, codec: SseCodec( decodeSuccessData: sse_decode_String, @@ -674,7 +550,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 13)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 7)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -703,7 +579,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 8)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -732,7 +608,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 15)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 9)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -762,7 +638,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { that, serializer); sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( roomToDelete, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 16)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 10)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -787,7 +663,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerJason( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 17)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 11)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -812,7 +688,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerJason( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 18)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 12)!; }, codec: SseCodec( decodeSuccessData: @@ -839,7 +715,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerJason( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 19)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 13)!; }, codec: SseCodec( decodeSuccessData: @@ -863,7 +739,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { return handler.executeSync(SyncTask( callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 20)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 14)!; }, codec: SseCodec( decodeSuccessData: @@ -890,7 +766,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 21)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 15)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -916,7 +792,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 22)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 16)!; }, codec: SseCodec( decodeSuccessData: @@ -944,7 +820,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 23)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 17)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -972,7 +848,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 24)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 18)!; }, codec: SseCodec( decodeSuccessData: sse_decode_bool, @@ -1000,7 +876,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 25)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 19)!; }, codec: SseCodec( decodeSuccessData: sse_decode_media_kind, @@ -1027,7 +903,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 26)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 20)!; }, codec: SseCodec( decodeSuccessData: sse_decode_media_source_kind, @@ -1056,7 +932,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 27)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 21)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -1085,7 +961,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 28)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 22)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -1112,7 +988,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 29)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 23)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1131,33 +1007,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["that"], ); - @override - List crateApiDartApiLocalMediaTrackVecLocalTracksFromRaw( - {required int ptr}) { - return handler.executeSync(SyncTask( - callFfi: () { - final serializer = SseSerializer(generalizedFrbRustBinding); - sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 30)!; - }, - codec: SseCodec( - decodeSuccessData: - sse_decode_list_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack, - decodeErrorData: null, - ), - constMeta: kCrateApiDartApiLocalMediaTrackVecLocalTracksFromRawConstMeta, - argValues: [ptr], - apiImpl: this, - )); - } - - TaskConstMeta - get kCrateApiDartApiLocalMediaTrackVecLocalTracksFromRawConstMeta => - const TaskConstMeta( - debugName: "vec_local_tracks_from_raw", - argNames: ["ptr"], - ); - @override Object crateApiDartApiMediaManagerMediaManagerHandleEnumerateDevices( {required MediaManagerHandle that}) { @@ -1166,7 +1015,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 31)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 24)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1194,7 +1043,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 32)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 25)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1224,7 +1073,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); sse_encode_box_autoadd_api_media_stream_settings(caps, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 33)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 26)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1252,7 +1101,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 34)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 27)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1281,7 +1130,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 35)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 28)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1310,7 +1159,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); sse_encode_DartOpaque(cb, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 36)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 29)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -1339,7 +1188,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); sse_encode_i_64(level, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 37)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 30)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1368,7 +1217,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMediaManagerHandle( that, serializer); sse_encode_String(deviceId, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 38)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 31)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1395,7 +1244,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 39)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 32)!; }, codec: SseCodec( decodeSuccessData: @@ -1431,7 +1280,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_f_64(multiplier, serializer); sse_encode_u_32(maxDelay, serializer); sse_encode_opt_box_autoadd_u_32(maxElapsedTimeMs, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 40)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 33)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1466,7 +1315,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerReconnectHandle( that, serializer); sse_encode_u_32(delayMs, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 41)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 34)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1493,7 +1342,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 42)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 35)!; }, codec: SseCodec( decodeSuccessData: @@ -1522,7 +1371,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 43)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 36)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1550,7 +1399,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 44)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 37)!; }, codec: SseCodec( decodeSuccessData: sse_decode_media_kind, @@ -1577,7 +1426,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 45)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 38)!; }, codec: SseCodec( decodeSuccessData: sse_decode_media_direction, @@ -1606,7 +1455,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 46)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 39)!; }, codec: SseCodec( decodeSuccessData: sse_decode_media_source_kind, @@ -1634,7 +1483,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 47)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 40)!; }, codec: SseCodec( decodeSuccessData: sse_decode_bool, @@ -1662,7 +1511,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 48)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 41)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -1691,7 +1540,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 49)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 42)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -1720,7 +1569,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 50)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 43)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -1749,7 +1598,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRemoteMediaTrack( that, serializer); sse_encode_DartOpaque(f, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 51)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 44)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -1776,7 +1625,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 52)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 45)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1802,7 +1651,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 53)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 46)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1829,7 +1678,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 54)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 47)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1856,7 +1705,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 55)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 48)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1881,7 +1730,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 56)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 49)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1907,7 +1756,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 57)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 50)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1934,7 +1783,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 58)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 51)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1961,7 +1810,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 59)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 52)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -1988,7 +1837,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_String(token, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 60)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 53)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -2013,7 +1862,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 61)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 54)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -2040,7 +1889,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 62)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 55)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -2067,7 +1916,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_DartOpaque(cb, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 63)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 56)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -2094,7 +1943,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_DartOpaque(cb, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 64)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 57)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -2121,7 +1970,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_DartOpaque(cb, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 65)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 58)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -2148,7 +1997,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_DartOpaque(cb, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 66)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 59)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -2175,7 +2024,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_DartOpaque(cb, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 67)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 60)!; }, codec: SseCodec( decodeSuccessData: sse_decode_unit, @@ -2207,7 +2056,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_box_autoadd_api_media_stream_settings(settings, serializer); sse_encode_bool(stopFirst, serializer); sse_encode_bool(rollbackOnFail, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 68)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 61)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -2233,7 +2082,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 69)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 62)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -2260,7 +2109,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRoomHandle( that, serializer); sse_encode_opt_box_autoadd_media_source_kind(sourceKind, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 70)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 63)!; }, codec: SseCodec( decodeSuccessData: sse_decode_DartOpaque, @@ -2278,6 +2127,55 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["that", "sourceKind"], ); + @override + void crateApiDartApiLogDartException( + {required String message, required String stackTrace}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_String(message, serializer); + sse_encode_String(stackTrace, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 65)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_unit, + decodeErrorData: null, + ), + constMeta: kCrateApiDartApiLogDartExceptionConstMeta, + argValues: [message, stackTrace], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiDartApiLogDartExceptionConstMeta => + const TaskConstMeta( + debugName: "log_dart_exception", + argNames: ["message", "stackTrace"], + ); + + @override + void crateApiDartApiOnPanic({required Object cb}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_DartOpaque(cb, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 66)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_unit, + decodeErrorData: null, + ), + constMeta: kCrateApiDartApiOnPanicConstMeta, + argValues: [cb], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiDartApiOnPanicConstMeta => const TaskConstMeta( + debugName: "on_panic", + argNames: ["cb"], + ); + @override RoomCloseReason crateApiDartApiRoomCloseReasonRoomCloseReasonFromPtr( {required int ptr}) { @@ -2285,7 +2183,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { callFfi: () { final serializer = SseSerializer(generalizedFrbRustBinding); sse_encode_CastedPrimitive_usize(ptr, serializer); - return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 71)!; + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 67)!; }, codec: SseCodec( decodeSuccessData: sse_decode_room_close_reason, @@ -2304,6 +2202,108 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { argNames: ["ptr"], ); + @override + void crateApiDartApiSetDartOpaqueMessagePort( + {required PlatformInt64 dartHandlerPort}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_i_64(dartHandlerPort, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 68)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_unit, + decodeErrorData: null, + ), + constMeta: kCrateApiDartApiSetDartOpaqueMessagePortConstMeta, + argValues: [dartHandlerPort], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiDartApiSetDartOpaqueMessagePortConstMeta => + const TaskConstMeta( + debugName: "set_dart_opaque_message_port", + argNames: ["dartHandlerPort"], + ); + + @override + List crateApiDartApiLocalMediaTrackVecLocalTracksFromRaw( + {required int ptr}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_CastedPrimitive_usize(ptr, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 69)!; + }, + codec: SseCodec( + decodeSuccessData: + sse_decode_list_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLocalMediaTrack, + decodeErrorData: null, + ), + constMeta: kCrateApiDartApiLocalMediaTrackVecLocalTracksFromRawConstMeta, + argValues: [ptr], + apiImpl: this, + )); + } + + TaskConstMeta + get kCrateApiDartApiLocalMediaTrackVecLocalTracksFromRawConstMeta => + const TaskConstMeta( + debugName: "vec_local_tracks_from_raw", + argNames: ["ptr"], + ); + + @override + List crateApiDartApiVecMediaDeviceDetailsFromRaw( + {required int ptr}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_CastedPrimitive_usize(ptr, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 70)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_list_api_media_device_details, + decodeErrorData: null, + ), + constMeta: kCrateApiDartApiVecMediaDeviceDetailsFromRawConstMeta, + argValues: [ptr], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiDartApiVecMediaDeviceDetailsFromRawConstMeta => + const TaskConstMeta( + debugName: "vec_media_device_details_from_raw", + argNames: ["ptr"], + ); + + @override + List crateApiDartApiVecMediaDisplayDetailsFromRaw( + {required int ptr}) { + return handler.executeSync(SyncTask( + callFfi: () { + final serializer = SseSerializer(generalizedFrbRustBinding); + sse_encode_CastedPrimitive_usize(ptr, serializer); + return pdeCallFfi(generalizedFrbRustBinding, serializer, funcId: 71)!; + }, + codec: SseCodec( + decodeSuccessData: sse_decode_list_api_media_display_details, + decodeErrorData: null, + ), + constMeta: kCrateApiDartApiVecMediaDisplayDetailsFromRawConstMeta, + argValues: [ptr], + apiImpl: this, + )); + } + + TaskConstMeta get kCrateApiDartApiVecMediaDisplayDetailsFromRawConstMeta => + const TaskConstMeta( + debugName: "vec_media_display_details_from_raw", + argNames: ["ptr"], + ); + RustArcIncrementStrongCountFnType get rust_arc_increment_strong_count_ConnectionHandle => wire .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerConnectionHandle; @@ -3872,8 +3872,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { case ApiConstrainFacingMode_Ideal(field0: final field0): sse_encode_i_32(1, serializer); sse_encode_facing_mode(field0, serializer); - default: - throw UnimplementedError(''); } } @@ -4007,8 +4005,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { case ConstrainBoolean_Ideal(field0: final field0): sse_encode_i_32(1, serializer); sse_encode_bool(field0, serializer); - default: - throw UnimplementedError(''); } } @@ -4026,8 +4022,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi { sse_encode_i_32(2, serializer); sse_encode_u_32(field0, serializer); sse_encode_u_32(field1, serializer); - default: - throw UnimplementedError(''); } } diff --git a/flutter/lib/src/native/ffi/frb/frb_generated.io.dart b/flutter/lib/src/native/ffi/frb/frb_generated.io.dart index 973a5cc1..4b7e8278 100644 --- a/flutter/lib/src/native/ffi/frb/frb_generated.io.dart +++ b/flutter/lib/src/native/ffi/frb/frb_generated.io.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field diff --git a/flutter/lib/src/native/ffi/frb/media.dart b/flutter/lib/src/native/ffi/frb/media.dart index 22a97bf3..ac257bf9 100644 --- a/flutter/lib/src/native/ffi/frb/media.dart +++ b/flutter/lib/src/native/ffi/frb/media.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/media/constraints.dart b/flutter/lib/src/native/ffi/frb/media/constraints.dart index c918cd7d..0ab6efc4 100644 --- a/flutter/lib/src/native/ffi/frb/media/constraints.dart +++ b/flutter/lib/src/native/ffi/frb/media/constraints.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/media/track.dart b/flutter/lib/src/native/ffi/frb/media/track.dart index 4ce64ef3..52411608 100644 --- a/flutter/lib/src/native/ffi/frb/media/track.dart +++ b/flutter/lib/src/native/ffi/frb/media/track.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/ffi/frb/media/track/remote.dart b/flutter/lib/src/native/ffi/frb/media/track/remote.dart index 09dabfff..683de413 100644 --- a/flutter/lib/src/native/ffi/frb/media/track/remote.dart +++ b/flutter/lib/src/native/ffi/frb/media/track/remote.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/flutter/lib/src/native/platform/media_device_info.dart b/flutter/lib/src/native/platform/media_device_info.dart index 8c0c36f8..5751f4dc 100644 --- a/flutter/lib/src/native/platform/media_device_info.dart +++ b/flutter/lib/src/native/platform/media_device_info.dart @@ -52,8 +52,5 @@ int _kind(Object deviceInfo) { return 1; case webrtc.MediaDeviceKind.audiooutput: return 2; - default: - // Not supposed to ever happen. - throw StateError('Unknown MediaKind: ${deviceInfo.kind}'); } } diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 92ddd199..17eed4c4 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -11,18 +11,18 @@ dependencies: flutter: sdk: flutter ffi: ^2.0.2 - flutter_rust_bridge: 2.4.0 # should be the same as in `Cargo.lock` + flutter_rust_bridge: 2.7.0 # should be the same as in `Cargo.lock` freezed_annotation: ^2.4.4 http: ">=0.13.6 <2.0.0" json_annotation: ^4.9.0 - medea_flutter_webrtc: ^0.11.2 + medea_flutter_webrtc: ^0.12.0 retry: ^3.1.2 tuple: ^2.0.2 - uuid: ^3.0.7 + uuid: ^4.4.2 web: ">=0.5.1 <2.0.0" dev_dependencies: - build_runner: ^2.4.12 + build_runner: ^2.4.13 ffigen: ^11.0.0 flutter_gherkin: 3.0.0-rc.17 flutter_lints: ^4.0.0 diff --git a/src/api/dart/api/api_bridge_generated.rs b/src/api/dart/api/api_bridge_generated.rs index 8009c1c2..7815d45b 100644 --- a/src/api/dart/api/api_bridge_generated.rs +++ b/src/api/dart/api/api_bridge_generated.rs @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.7.0. #![allow( non_camel_case_types, @@ -48,7 +48,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_opaque = RustOpaqueMoi, default_rust_auto_opaque = RustAutoOpaqueMoi, ); -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.4.0"; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.7.0"; pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 223637457; // Section: executor @@ -57,72 +57,6 @@ flutter_rust_bridge::frb_generated_default_handler!(); // Section: wire_funcs -fn wire__crate__api__dart__api__log_dart_exception_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "log_dart_exception", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { - let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; - let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_message = ::sse_decode(&mut deserializer); -let api_stack_trace = ::sse_decode(&mut deserializer);deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_,()>::Ok({ crate::api::dart::api::log_dart_exception(api_message, api_stack_trace); })?; Ok(output_ok) - })()) }) -} -fn wire__crate__api__dart__api__on_panic_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "on_panic", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { - let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; - let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_cb = ::sse_decode(&mut deserializer);deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_,()>::Ok({ crate::api::dart::api::on_panic(api_cb); })?; Ok(output_ok) - })()) }) -} -fn wire__crate__api__dart__api__set_dart_opaque_message_port_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "set_dart_opaque_message_port", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { - let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; - let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_dart_handler_port = ::sse_decode(&mut deserializer);deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_,()>::Ok({ crate::api::dart::api::set_dart_opaque_message_port(api_dart_handler_port); })?; Ok(output_ok) - })()) }) -} -fn wire__crate__api__dart__api__vec_media_device_details_from_raw_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "vec_media_device_details_from_raw", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { - let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; - let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_ptr = ::sse_decode(&mut deserializer);deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_,()>::Ok(crate::api::dart::api::vec_media_device_details_from_raw(api_ptr))?; Ok(output_ok) - })()) }) -} -fn wire__crate__api__dart__api__vec_media_display_details_from_raw_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "vec_media_display_details_from_raw", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { - let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; - let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_ptr = ::sse_decode(&mut deserializer);deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_,()>::Ok(crate::api::dart::api::vec_media_display_details_from_raw(api_ptr))?; Ok(output_ok) - })()) }) -} fn wire__crate__api__dart__api__connection_handle__ConnectionHandle_disable_remote_audio_impl( ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, @@ -592,19 +526,6 @@ let decode_indices_ = flutter_rust_bridge::for_generated::lockable_compute_decod let output_ok = Result::<_,()>::Ok(crate::api::dart::api::local_media_track::LocalMediaTrack::state(&*api_that_guard))?; Ok(output_ok) })()) }) } -fn wire__crate__api__dart__api__local_media_track__vec_local_tracks_from_raw_impl( - ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, - rust_vec_len_: i32, - data_len_: i32, -) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { - FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "vec_local_tracks_from_raw", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { - let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; - let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); - let api_ptr = ::sse_decode(&mut deserializer);deserializer.end(); - transform_result_sse::<_, ()>((move || { - let output_ok = Result::<_,()>::Ok(crate::api::dart::api::local_media_track::vec_local_tracks_from_raw(api_ptr))?; Ok(output_ok) - })()) }) -} fn wire__crate__api__dart__api__media_manager__MediaManagerHandle_enumerate_devices_impl( ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, @@ -1495,6 +1416,33 @@ let decode_indices_ = flutter_rust_bridge::for_generated::lockable_compute_decod let output_ok = Result::<_,()>::Ok(crate::api::dart::api::room::RoomHandle::unmute_video(&*api_that_guard, api_source_kind))?; Ok(output_ok) })()) }) } +fn wire__crate__api__dart__api__log_dart_exception_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "log_dart_exception", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { + let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; + let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_message = ::sse_decode(&mut deserializer); +let api_stack_trace = ::sse_decode(&mut deserializer);deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_,()>::Ok({ crate::api::dart::api::log_dart_exception(api_message, api_stack_trace); })?; Ok(output_ok) + })()) }) +} +fn wire__crate__api__dart__api__on_panic_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "on_panic", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { + let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; + let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_cb = ::sse_decode(&mut deserializer);deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_,()>::Ok({ crate::api::dart::api::on_panic(api_cb); })?; Ok(output_ok) + })()) }) +} fn wire__crate__api__dart__api__room_close_reason__room_close_reason_from_ptr_impl( ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, rust_vec_len_: i32, @@ -1508,6 +1456,58 @@ fn wire__crate__api__dart__api__room_close_reason__room_close_reason_from_ptr_im let output_ok = Result::<_,()>::Ok(crate::api::dart::api::room_close_reason::RoomCloseReason::from_ptr(api_ptr))?; Ok(output_ok) })()) }) } +fn wire__crate__api__dart__api__set_dart_opaque_message_port_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "set_dart_opaque_message_port", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { + let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; + let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_dart_handler_port = ::sse_decode(&mut deserializer);deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_,()>::Ok({ crate::api::dart::api::set_dart_opaque_message_port(api_dart_handler_port); })?; Ok(output_ok) + })()) }) +} +fn wire__crate__api__dart__api__local_media_track__vec_local_tracks_from_raw_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "vec_local_tracks_from_raw", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { + let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; + let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_ptr = ::sse_decode(&mut deserializer);deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_,()>::Ok(crate::api::dart::api::local_media_track::vec_local_tracks_from_raw(api_ptr))?; Ok(output_ok) + })()) }) +} +fn wire__crate__api__dart__api__vec_media_device_details_from_raw_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "vec_media_device_details_from_raw", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { + let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; + let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_ptr = ::sse_decode(&mut deserializer);deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_,()>::Ok(crate::api::dart::api::vec_media_device_details_from_raw(api_ptr))?; Ok(output_ok) + })()) }) +} +fn wire__crate__api__dart__api__vec_media_display_details_from_raw_impl( + ptr_: flutter_rust_bridge::for_generated::PlatformGeneralizedUint8ListPtr, + rust_vec_len_: i32, + data_len_: i32, +) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { + FLUTTER_RUST_BRIDGE_HANDLER.wrap_sync::(flutter_rust_bridge::for_generated::TaskInfo{ debug_name: "vec_media_display_details_from_raw", port: None, mode: flutter_rust_bridge::for_generated::FfiCallMode::Sync }, move || { + let message = unsafe { flutter_rust_bridge::for_generated::Dart2RustMessageSse::from_wire(ptr_, rust_vec_len_, data_len_) }; + let mut deserializer = flutter_rust_bridge::for_generated::SseDeserializer::new(message); + let api_ptr = ::sse_decode(&mut deserializer);deserializer.end(); + transform_result_sse::<_, ()>((move || { + let output_ok = Result::<_,()>::Ok(crate::api::dart::api::vec_media_display_details_from_raw(api_ptr))?; Ok(output_ok) + })()) }) +} // Section: related_funcs @@ -2372,76 +2372,76 @@ fn pde_ffi_dispatcher_sync_impl( ) -> flutter_rust_bridge::for_generated::WireSyncRust2DartSse { // Codec=Pde (Serialization + dispatch), see doc to use other codecs match func_id { - 2 => wire__crate__api__dart__api__log_dart_exception_impl(ptr, rust_vec_len, data_len), -3 => wire__crate__api__dart__api__on_panic_impl(ptr, rust_vec_len, data_len), -4 => wire__crate__api__dart__api__set_dart_opaque_message_port_impl(ptr, rust_vec_len, data_len), -5 => wire__crate__api__dart__api__vec_media_device_details_from_raw_impl(ptr, rust_vec_len, data_len), -6 => wire__crate__api__dart__api__vec_media_display_details_from_raw_impl(ptr, rust_vec_len, data_len), -7 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_disable_remote_audio_impl(ptr, rust_vec_len, data_len), -8 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_disable_remote_video_impl(ptr, rust_vec_len, data_len), -9 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_enable_remote_audio_impl(ptr, rust_vec_len, data_len), -10 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_enable_remote_video_impl(ptr, rust_vec_len, data_len), -11 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_from_ptr_impl(ptr, rust_vec_len, data_len), -12 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_get_remote_member_id_impl(ptr, rust_vec_len, data_len), -13 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_on_close_impl(ptr, rust_vec_len, data_len), -14 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_on_quality_score_update_impl(ptr, rust_vec_len, data_len), -15 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_on_remote_track_added_impl(ptr, rust_vec_len, data_len), -16 => wire__crate__api__dart__api__jason__Jason_jason_close_room_impl(ptr, rust_vec_len, data_len), -17 => wire__crate__api__dart__api__jason__Jason_jason_dispose_impl(ptr, rust_vec_len, data_len), -18 => wire__crate__api__dart__api__jason__Jason_jason_init_room_impl(ptr, rust_vec_len, data_len), -19 => wire__crate__api__dart__api__jason__Jason_jason_media_manager_impl(ptr, rust_vec_len, data_len), -20 => wire__crate__api__dart__api__jason__Jason_new_impl(ptr, rust_vec_len, data_len), -21 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_free_impl(ptr, rust_vec_len, data_len), -22 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_from_ptr_impl(ptr, rust_vec_len, data_len), -23 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_get_track_impl(ptr, rust_vec_len, data_len), -24 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_is_on_audio_level_available_impl(ptr, rust_vec_len, data_len), -25 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_kind_impl(ptr, rust_vec_len, data_len), -26 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_media_source_kind_impl(ptr, rust_vec_len, data_len), -27 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_on_audio_level_changed_impl(ptr, rust_vec_len, data_len), -28 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_on_ended_impl(ptr, rust_vec_len, data_len), -29 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_state_impl(ptr, rust_vec_len, data_len), -30 => wire__crate__api__dart__api__local_media_track__vec_local_tracks_from_raw_impl(ptr, rust_vec_len, data_len), -31 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_enumerate_devices_impl(ptr, rust_vec_len, data_len), -32 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_enumerate_displays_impl(ptr, rust_vec_len, data_len), -33 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_init_local_tracks_impl(ptr, rust_vec_len, data_len), -34 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_microphone_volume_impl(ptr, rust_vec_len, data_len), -35 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_microphone_volume_is_available_impl(ptr, rust_vec_len, data_len), -36 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_on_device_change_impl(ptr, rust_vec_len, data_len), -37 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_set_microphone_volume_impl(ptr, rust_vec_len, data_len), -38 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_set_output_audio_id_impl(ptr, rust_vec_len, data_len), -39 => wire__crate__api__dart__api__reconnect_handle__ReconnectHandle_from_ptr_impl(ptr, rust_vec_len, data_len), -40 => wire__crate__api__dart__api__reconnect_handle__ReconnectHandle_reconnect_with_backoff_impl(ptr, rust_vec_len, data_len), -41 => wire__crate__api__dart__api__reconnect_handle__ReconnectHandle_reconnect_with_delay_impl(ptr, rust_vec_len, data_len), -42 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_from_ptr_impl(ptr, rust_vec_len, data_len), -43 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_get_track_impl(ptr, rust_vec_len, data_len), -44 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_kind_impl(ptr, rust_vec_len, data_len), -45 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_media_direction_impl(ptr, rust_vec_len, data_len), -46 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_media_source_kind_impl(ptr, rust_vec_len, data_len), -47 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_muted_impl(ptr, rust_vec_len, data_len), -48 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_media_direction_changed_impl(ptr, rust_vec_len, data_len), -49 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_muted_impl(ptr, rust_vec_len, data_len), -50 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_stopped_impl(ptr, rust_vec_len, data_len), -51 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_unmuted_impl(ptr, rust_vec_len, data_len), -52 => wire__crate__api__dart__api__room__RoomHandle_disable_audio_impl(ptr, rust_vec_len, data_len), -53 => wire__crate__api__dart__api__room__RoomHandle_disable_remote_audio_impl(ptr, rust_vec_len, data_len), -54 => wire__crate__api__dart__api__room__RoomHandle_disable_remote_video_impl(ptr, rust_vec_len, data_len), -55 => wire__crate__api__dart__api__room__RoomHandle_disable_video_impl(ptr, rust_vec_len, data_len), -56 => wire__crate__api__dart__api__room__RoomHandle_enable_audio_impl(ptr, rust_vec_len, data_len), -57 => wire__crate__api__dart__api__room__RoomHandle_enable_remote_audio_impl(ptr, rust_vec_len, data_len), -58 => wire__crate__api__dart__api__room__RoomHandle_enable_remote_video_impl(ptr, rust_vec_len, data_len), -59 => wire__crate__api__dart__api__room__RoomHandle_enable_video_impl(ptr, rust_vec_len, data_len), -60 => wire__crate__api__dart__api__room__RoomHandle_join_impl(ptr, rust_vec_len, data_len), -61 => wire__crate__api__dart__api__room__RoomHandle_mute_audio_impl(ptr, rust_vec_len, data_len), -62 => wire__crate__api__dart__api__room__RoomHandle_mute_video_impl(ptr, rust_vec_len, data_len), -63 => wire__crate__api__dart__api__room__RoomHandle_on_close_impl(ptr, rust_vec_len, data_len), -64 => wire__crate__api__dart__api__room__RoomHandle_on_connection_loss_impl(ptr, rust_vec_len, data_len), -65 => wire__crate__api__dart__api__room__RoomHandle_on_failed_local_media_impl(ptr, rust_vec_len, data_len), -66 => wire__crate__api__dart__api__room__RoomHandle_on_local_track_impl(ptr, rust_vec_len, data_len), -67 => wire__crate__api__dart__api__room__RoomHandle_on_new_connection_impl(ptr, rust_vec_len, data_len), -68 => wire__crate__api__dart__api__room__RoomHandle_set_local_media_settings_impl(ptr, rust_vec_len, data_len), -69 => wire__crate__api__dart__api__room__RoomHandle_unmute_audio_impl(ptr, rust_vec_len, data_len), -70 => wire__crate__api__dart__api__room__RoomHandle_unmute_video_impl(ptr, rust_vec_len, data_len), -71 => wire__crate__api__dart__api__room_close_reason__room_close_reason_from_ptr_impl(ptr, rust_vec_len, data_len), + 1 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_disable_remote_audio_impl(ptr, rust_vec_len, data_len), +2 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_disable_remote_video_impl(ptr, rust_vec_len, data_len), +3 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_enable_remote_audio_impl(ptr, rust_vec_len, data_len), +4 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_enable_remote_video_impl(ptr, rust_vec_len, data_len), +5 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_from_ptr_impl(ptr, rust_vec_len, data_len), +6 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_get_remote_member_id_impl(ptr, rust_vec_len, data_len), +7 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_on_close_impl(ptr, rust_vec_len, data_len), +8 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_on_quality_score_update_impl(ptr, rust_vec_len, data_len), +9 => wire__crate__api__dart__api__connection_handle__ConnectionHandle_on_remote_track_added_impl(ptr, rust_vec_len, data_len), +10 => wire__crate__api__dart__api__jason__Jason_jason_close_room_impl(ptr, rust_vec_len, data_len), +11 => wire__crate__api__dart__api__jason__Jason_jason_dispose_impl(ptr, rust_vec_len, data_len), +12 => wire__crate__api__dart__api__jason__Jason_jason_init_room_impl(ptr, rust_vec_len, data_len), +13 => wire__crate__api__dart__api__jason__Jason_jason_media_manager_impl(ptr, rust_vec_len, data_len), +14 => wire__crate__api__dart__api__jason__Jason_new_impl(ptr, rust_vec_len, data_len), +15 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_free_impl(ptr, rust_vec_len, data_len), +16 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_from_ptr_impl(ptr, rust_vec_len, data_len), +17 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_get_track_impl(ptr, rust_vec_len, data_len), +18 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_is_on_audio_level_available_impl(ptr, rust_vec_len, data_len), +19 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_kind_impl(ptr, rust_vec_len, data_len), +20 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_media_source_kind_impl(ptr, rust_vec_len, data_len), +21 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_on_audio_level_changed_impl(ptr, rust_vec_len, data_len), +22 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_on_ended_impl(ptr, rust_vec_len, data_len), +23 => wire__crate__api__dart__api__local_media_track__LocalMediaTrack_state_impl(ptr, rust_vec_len, data_len), +24 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_enumerate_devices_impl(ptr, rust_vec_len, data_len), +25 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_enumerate_displays_impl(ptr, rust_vec_len, data_len), +26 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_init_local_tracks_impl(ptr, rust_vec_len, data_len), +27 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_microphone_volume_impl(ptr, rust_vec_len, data_len), +28 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_microphone_volume_is_available_impl(ptr, rust_vec_len, data_len), +29 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_on_device_change_impl(ptr, rust_vec_len, data_len), +30 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_set_microphone_volume_impl(ptr, rust_vec_len, data_len), +31 => wire__crate__api__dart__api__media_manager__MediaManagerHandle_set_output_audio_id_impl(ptr, rust_vec_len, data_len), +32 => wire__crate__api__dart__api__reconnect_handle__ReconnectHandle_from_ptr_impl(ptr, rust_vec_len, data_len), +33 => wire__crate__api__dart__api__reconnect_handle__ReconnectHandle_reconnect_with_backoff_impl(ptr, rust_vec_len, data_len), +34 => wire__crate__api__dart__api__reconnect_handle__ReconnectHandle_reconnect_with_delay_impl(ptr, rust_vec_len, data_len), +35 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_from_ptr_impl(ptr, rust_vec_len, data_len), +36 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_get_track_impl(ptr, rust_vec_len, data_len), +37 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_kind_impl(ptr, rust_vec_len, data_len), +38 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_media_direction_impl(ptr, rust_vec_len, data_len), +39 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_media_source_kind_impl(ptr, rust_vec_len, data_len), +40 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_muted_impl(ptr, rust_vec_len, data_len), +41 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_media_direction_changed_impl(ptr, rust_vec_len, data_len), +42 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_muted_impl(ptr, rust_vec_len, data_len), +43 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_stopped_impl(ptr, rust_vec_len, data_len), +44 => wire__crate__api__dart__api__remote_media_track__RemoteMediaTrack_on_unmuted_impl(ptr, rust_vec_len, data_len), +45 => wire__crate__api__dart__api__room__RoomHandle_disable_audio_impl(ptr, rust_vec_len, data_len), +46 => wire__crate__api__dart__api__room__RoomHandle_disable_remote_audio_impl(ptr, rust_vec_len, data_len), +47 => wire__crate__api__dart__api__room__RoomHandle_disable_remote_video_impl(ptr, rust_vec_len, data_len), +48 => wire__crate__api__dart__api__room__RoomHandle_disable_video_impl(ptr, rust_vec_len, data_len), +49 => wire__crate__api__dart__api__room__RoomHandle_enable_audio_impl(ptr, rust_vec_len, data_len), +50 => wire__crate__api__dart__api__room__RoomHandle_enable_remote_audio_impl(ptr, rust_vec_len, data_len), +51 => wire__crate__api__dart__api__room__RoomHandle_enable_remote_video_impl(ptr, rust_vec_len, data_len), +52 => wire__crate__api__dart__api__room__RoomHandle_enable_video_impl(ptr, rust_vec_len, data_len), +53 => wire__crate__api__dart__api__room__RoomHandle_join_impl(ptr, rust_vec_len, data_len), +54 => wire__crate__api__dart__api__room__RoomHandle_mute_audio_impl(ptr, rust_vec_len, data_len), +55 => wire__crate__api__dart__api__room__RoomHandle_mute_video_impl(ptr, rust_vec_len, data_len), +56 => wire__crate__api__dart__api__room__RoomHandle_on_close_impl(ptr, rust_vec_len, data_len), +57 => wire__crate__api__dart__api__room__RoomHandle_on_connection_loss_impl(ptr, rust_vec_len, data_len), +58 => wire__crate__api__dart__api__room__RoomHandle_on_failed_local_media_impl(ptr, rust_vec_len, data_len), +59 => wire__crate__api__dart__api__room__RoomHandle_on_local_track_impl(ptr, rust_vec_len, data_len), +60 => wire__crate__api__dart__api__room__RoomHandle_on_new_connection_impl(ptr, rust_vec_len, data_len), +61 => wire__crate__api__dart__api__room__RoomHandle_set_local_media_settings_impl(ptr, rust_vec_len, data_len), +62 => wire__crate__api__dart__api__room__RoomHandle_unmute_audio_impl(ptr, rust_vec_len, data_len), +63 => wire__crate__api__dart__api__room__RoomHandle_unmute_video_impl(ptr, rust_vec_len, data_len), +65 => wire__crate__api__dart__api__log_dart_exception_impl(ptr, rust_vec_len, data_len), +66 => wire__crate__api__dart__api__on_panic_impl(ptr, rust_vec_len, data_len), +67 => wire__crate__api__dart__api__room_close_reason__room_close_reason_from_ptr_impl(ptr, rust_vec_len, data_len), +68 => wire__crate__api__dart__api__set_dart_opaque_message_port_impl(ptr, rust_vec_len, data_len), +69 => wire__crate__api__dart__api__local_media_track__vec_local_tracks_from_raw_impl(ptr, rust_vec_len, data_len), +70 => wire__crate__api__dart__api__vec_media_device_details_from_raw_impl(ptr, rust_vec_len, data_len), +71 => wire__crate__api__dart__api__vec_media_display_details_from_raw_impl(ptr, rust_vec_len, data_len), _ => unreachable!(), } } @@ -3852,7 +3852,7 @@ impl SseEncode for usize { #[cfg(not(target_family = "wasm"))] mod io { // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.4.0. + // @generated by `flutter_rust_bridge`@ 2.7.0. // Section: imports