Skip to content

Fix start local audio#1045

Open
hiroshihorie wants to merge 5 commits intomainfrom
hiroshi/fix-local-audio
Open

Fix start local audio#1045
hiroshihorie wants to merge 5 commits intomainfrom
hiroshi/fix-local-audio

Conversation

@hiroshihorie
Copy link
Copy Markdown
Member

@hiroshihorie hiroshihorie commented Mar 29, 2026

Ensure native ADM is started when track.start() is called so audio frames get generated (for visualizer)
Also expose manual adm start/stop methods.

@hiroshihorie hiroshihorie marked this pull request as ready for review March 30, 2026 10:59
@hiroshihorie hiroshihorie changed the title Hiroshi/fix local audio Fix start local audio Mar 30, 2026
@github-actions
Copy link
Copy Markdown

Caution

Breaking change detected without major changeset

dart-apitool detected the following breaking changes:

Preparing git repository: https://github.com/livekit/client-sdk-flutter
Using ref: main
Cloning git repository: https://github.com/livekit/client-sdk-flutter
Checking out ref: main
Successfully cloned to: /tmp/BMTDUA
Preparing package dependencies for git package https://github.com/livekit/client-sdk-flutter (forced Flutter)
Resolving dependencies...
Downloading packages...
  _fe_analyzer_shared 85.0.0 (98.0.0 available)
  analyzer 7.7.1 (12.0.0 available)
  async 2.13.0 (2.13.1 available)
  build 2.5.4 (4.0.5 available)
  build_config 1.1.2 (1.3.0 available)
  build_resolvers 2.5.4 (3.0.4 available)
  build_runner 2.5.4 (2.13.1 available)
  build_runner_core 9.1.2 (9.3.2 available)
  built_value 8.12.4 (8.12.5 available)
  dart_style 3.1.1 (3.1.8 available)
  dart_webrtc 1.8.0 (1.8.1 available)
  flutter_webrtc 1.4.0 (1.4.1 available)
  json_annotation 4.9.0 (4.11.0 available)
  json_serializable 6.9.5 (6.13.1 available)
  meta 1.17.0 (1.18.2 available)
  mockito 5.4.6 (5.6.4 available)
  path_provider_android 2.2.22 (2.2.23 available)
  source_gen 2.0.0 (4.2.2 available)
  source_helper 1.3.7 (1.3.11 available)
  test_api 0.7.10 (0.7.11 available)
  vector_math 2.2.0 (2.3.0 available)
  win32 5.15.0 (6.0.0 available)
  win32_registry 2.1.0 (3.0.2 available)
Got dependencies!
23 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Resolving dependencies in `./example`...
Downloading packages...
Got dependencies in `./example`.
Preparing . (forced Flutter)
Copying sources from .
Preparing package dependencies for local package . (forced Flutter)
Resolving dependencies...
Downloading packages...
  _fe_analyzer_shared 85.0.0 (98.0.0 available)
  analyzer 7.7.1 (12.0.0 available)
  async 2.13.0 (2.13.1 available)
  build 2.5.4 (4.0.5 available)
  build_config 1.1.2 (1.3.0 available)
  build_resolvers 2.5.4 (3.0.4 available)
  build_runner 2.5.4 (2.13.1 available)
  build_runner_core 9.1.2 (9.3.2 available)
  built_value 8.12.4 (8.12.5 available)
  dart_style 3.1.1 (3.1.8 available)
  dart_webrtc 1.8.0 (1.8.1 available)
  flutter_webrtc 1.4.0 (1.4.1 available)
  json_annotation 4.9.0 (4.11.0 available)
  json_serializable 6.9.5 (6.13.1 available)
  meta 1.17.0 (1.18.2 available)
  mockito 5.4.6 (5.6.4 available)
  path_provider_android 2.2.22 (2.2.23 available)
  source_gen 2.0.0 (4.2.2 available)
  source_helper 1.3.7 (1.3.11 available)
  test_api 0.7.10 (0.7.11 available)
  vector_math 2.2.0 (2.3.0 available)
  win32 5.15.0 (6.0.0 available)
  win32_registry 2.1.0 (3.0.2 available)
Got dependencies!
23 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Resolving dependencies in `./example`...
Downloading packages...
Got dependencies in `./example`.
Omitting pub get (package config already present)
Analyzing /tmp/BMTDUA
Omitting pub get (package config already present)
Analyzing .
Cleaning up
Cleaning up
Checking Package version
ignoring prerelease
-- Generating report using: Console Reporter --
BREAKING CHANGES
├─┬ Class Track
│ ├── Field "isStarted" added (required) (CF02)
│ └── Field "isMuted" added (required) (CF02)
└─┬ Class LocalTrack
  ├── Field "isStarted" added (required) (CF02)
  └── Field "isMuted" added (required) (CF02)
Non-Breaking changes
├─┬ Class RemoteTrack
│ ├── Field "isStarted" added (CF02) (minor)
│ └── Field "isMuted" added (CF02) (minor)
├─┬ Class LocalVideoTrack
│ ├── Field "isStarted" added (CF02) (minor)
│ └── Field "isMuted" added (CF02) (minor)
├─┬ Class VideoTrack
│ ├── Field "isStarted" added (CF02) (minor)
│ └── Field "isMuted" added (CF02) (minor)
├─┬ Class LocalAudioTrack
│ ├── Field "isStarted" added (CF02) (minor)
│ └── Field "isMuted" added (CF02) (minor)
├─┬ Class AudioTrack
│ ├── Field "isStarted" added (CF02) (minor)
│ └── Field "isMuted" added (CF02) (minor)
├─┬ Class Hardware
│ ├── Method "startLocalRecording" added (CE11) (minor)
│ └── Method "stopLocalRecording" added (CE11) (minor)
├─┬ Class RemoteAudioTrack
│ ├── Field "isStarted" added (CF02) (minor)
│ └── Field "isMuted" added (CF02) (minor)
└─┬ Class RemoteVideoTrack
  ├── Field "isStarted" added (CF02) (minor)
  └── Field "isMuted" added (CF02) (minor)
To learn more about the detected changes visit: https://github.com/bmw-tech/dart_apitool/blob/main/readme/change_codes.md
Version Check
New Version is too low!

Old version: "2.7.0"
New version: "2.7.0"
Needed version: "3.0.0"

Got "2.7.0" expected >= "3.0.0" (breaking changes)

If this is intentional, please add a changeset with major level in .changes/:

major type="changed" "Description of breaking change"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant