nativemind_call 0.2.0
nativemind_call: ^0.2.0 copied to clipboard
Native media layer of NativeMind calls on Andrey Bekhtold's handmade WebRTC code: video through Flutter textures, a Pigeon API and NmNativeCallPort for nativemind_deals.
0.2.0 - 2026-11-19 #
Dependency upgrade to the latest stable versions (checked with Flutter 3.50.0 / Dart 3.14).
- Breaking for the toolchain only: the SDK floor rises to Dart
^3.13.0/ Flutter>=3.47.0(nativemind_deals2.0; devpigeon30 needs Dart 3.12). Apps on an older Flutter keep resolving the previous release, so nothing changes for them; the public API and behaviour are unchanged unless listed below. - Dependencies raised:
nativemind_deals^2.0.0,meta^1.19.0; dev:pigeon^30.0.4 (was 26.x). - Bindings regenerated with Pigeon 30.0.4 (Dart, Kotlin, Swift). The async host method and every Flutter API method are now annotated
@asyncCallback, so the Kotlin / Swift signatures the plugins implement keep their completion callbacks (Pigeon 28+ would otherwise generatesuspend/async); the channel names and the wire format are unchanged. The Swift output moves its private helpers into a namespace; the plugin code does not use them. NmNativeCall'sNmCallFlutterApicallbacks (didGenerateOffer,didGenerateAnswer,didGenerateIceCandidate,didAddRemoteStream,didRemoveRemoteStream,didChangeIceConnectionState,didChangeVideoSize) now returnFuture<void>(werevoid), as the regenerated interface requires; they still apply their effect synchronously.
0.1.2 #
Maintenance release, no API or behaviour change. Checked with Flutter 3.50.0 (stable, Dart 3.14): analyzer clean
apart from the SDK deprecation of package:flutter/material.dart / cupertino.dart in favour of material_ui /
cupertino_ui, which stays: moving would require Flutter 3.47+ and break apps on 3.32–3.44. Dependency
constraints and the SDK floor are unchanged; every dependency resolves to its latest compatible version.
- Shorter pubspec description (pub.dev shows up to 180 characters).
homepageremoved: widgets.nativemind.net is not online;repositorystays.pigeon(dev) stays on 26.x: the 30.x output rewrites the Kotlin / Swift bindings, which need a native build check first.
0.1.1 #
- Docs: README warns that the iOS part has not been compiled yet (Android verified on device); NOTICE clarifies the adapted parts of WebRTCClient.swift.
- pubspec:
repositoryfield so README links resolve on pub.dev.
0.1.0 #
First release (SDD flow sdd-widgets-handmade, task 6.1): the native media layer of Andrey Bekhtold (mobileclient-kmp,
2025-04, without AI) as a Flutter plugin. Who wrote what: PROVENANCE.md.
- Android: his
PeerConnectionClient(Camera2 front → back, capture thread 1280×720@30, hardware codecs on a shared EGL context) renders into Flutter textures (TextureRegistry.SurfaceProducer+EglRenderer), not PlatformViews. - iOS: his
WebRTCManager(camera queue, zero-copyRTCCVPixelBuffer) renders into aFlutterTexture;Debug.swiftbyte-identical; the WebRTC configuration and audio session of hisWebRTCClientType.swiftre-activated. - Same configuration on Android (gatherContinually, maxBundle, rtcpMux require, ECDSA, TCP candidates off, TURN / STUN from the app), ICE candidates held until the signalling is ready, call audio mode on connect.
- Critical errors of research 02b fixed (
fixed bylines): factory per client, empty ICE list, Plan-BaddStream,SurfaceTextureHelpernever released, teardown; iOS — early end-of-candidates, missing audio track,startRunning()on main, rotation always 0. - Pigeon API after
WebRTCManagerDelegate; Dart APINmNativeCall/NmNativeCallClient/NmCallVideoView;NmNativeCallPortimplementsNmCallPortof nativemind_deals;NmLoopbackCall— his two-peer demo. - webrtc-sdk 125.6422.07 (Android) / WebRTC-SDK ≥ 125.6422.07 (iOS). iOS is not built in this release's CI (no macOS).