Skip to content

No audio on iOS after first webrtc call #254

Description

@gavrilikhin-d

There was a very strange bug in our application related to react-native-incall-manager and @livekit/react-native-webrtc. It appeared only after we migrated from react-native-webrtc to @livekit/react-native-webrtc

On iOS, first webrtc connection has no issues whatsoever, but every consequent connection has no sound for remote audio stream and doesn't send bytes for local audio stream.

We couldn't figure out exact reason, however restarting in-call manager after every call has helped to mitigate the issue

  useEffect(() => {
    InCallManager.stop()
    InCallManager.start({ media: "video" })
  }, [])

Versions of our dependencies:

"react-native-incall-manager": "^4.2.1",
"@livekit/react-native": "^2.7.4",
"@livekit/react-native-webrtc": "^125.0.9",
"livekit-client": "^2.13.3",

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions