Skip to content

Bug: can't get demo app to hear me #8

@emigre459

Description

@emigre459

Describe the bug

Spinning up the app via expo 53 and RN 0.79.5 results in a working Android app (just tested Android so far). My agent backend is running and working (I can hear the intro speech and sending text messages to the agent causes it to respond correctly). But for some reason it doesn't register when I'm talking to it.

I've also use expo-audio to build a quick microphone test in the app and can confirm that my mic is working as I can hear my voice played back to me in-app with the test. So no idea why the audio track to the agent seems to not be working.

To Reproduce

Steps to reproduce the behavior:

  1. lk app create --template agent-starter-react-native --sandbox <token_server_sandbox_id>
  2. To clear up install errors:
echo "a" | bunx react-native clean
rm -rf android ios node_modules bun.lock
rm -rf ~/.expo
bun add expo@53
bunx expo install
bunx expo install --fix
bunx expo-doctor

Note

I use bun here but npm was also tested and has the same issues

  1. To get a nice clean Android build and install + launch it on my Pixel 9 emulator in Android Studio:
echo "y" | bunx expo prebuild --platform android --clean
bunx expo run:android --no-install
bunx expo start --dev-client --localhost
  1. Click Start Voice Assistant
  2. Try speaking to agent after introductory greeting from agent completes

Expectation: it can hear me and agent responds to my verbal prompts
Reality: agent can respond to written prompts but audio prompts do nothing (seems equivalent to a muted microphone)

Screenshots

Always just a single flashing center white dot, like "I'm listening" no matter what I do.

Image

Device Info:

  • Device: emulated Pixel 9
  • OS: Android 16, ARM64

Dependencies Info (please reference your package-lock.json or yarn.lock file, not just your package.json):

  • @livekit/react-native: 2.9.1
  • livekit-client: 2.15.8
  • react-native-webrtc: 137.0.2

Additional context
None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions