Skip to content

Crash on audio_room calls #1910

@ertucaglar

Description

@ertucaglar

Which package/packages do you use?

  • @stream-io/video-react-sdk
  • @stream-io/video-react-native-sdk
  • @stream-io/video-client

Describe the bug
I have no problems with 1-to-1 calls on the simulator or the real device. However, when I initiate a group call, if a second user joins from the real device, the application crashes. When I look at the Xcode logs, it endlessly displays the following logs:

RNInCallManager.start() start InCallManager. media=audio, type=audio, mode=AVAudioSessionModeVoiceChat
RNInCallManager.storeOriginalAudioSetup(): origAudioCategory=AVAudioSessionCategoryPlayback, origAudioMode=AVAudioSessionModeMoviePlayback
RNInCallManager.startAudioSessionNotification() starting...
RNInCallManager.startAudioSessionInterruptionNotification()
RNInCallManager.startAudioSessionRouteChangeNotification()
RNInCallManager.startAudioSessionMediaServicesWereLostNotification()
RNInCallManager.startAudioSessionMediaServicesWereResetNotification()
RNInCallManager.startAudioSessionSilenceSecondaryAudioHintNotification()
RNInCallManager.start:auto:ringbackUriType:: audioSession.setCategory: AVAudioSessionCategoryPlayAndRecord, withOptions: 0 success
RNInCallManager.start:auto:ringbackUriType:: audioSession.setMode(AVAudioSessionModeVoiceChat) success
RNInCallManager.start:auto:ringbackUriType:: audioSession.setActive(YES), withOptions: 0 success
RNInCallManager.startProximitySensor()
RNInCallManager.setKeepScreenOn(): enable: YES
PiP - RTCViewPip has been added to a superview.
PiP - isPictureInPicturePossible:true

To Reproduce
Steps to reproduce the behavior:

  1. Create audio_room call on simulator
  2. Join call on real device
  3. real device app first hang out and crashed

Version

  • SDK version: "@stream-io/video-react-native-sdk": "1.20.11"

Env:

Fill out what's applicable

React / JS client

  • Browser [e.g. chrome, safari]

React Native / Expo

  • OS: [iOS]
  • Device or emulator [real iPhone 15 Pro]

Node JS client

  • Node version: 23

Additional context
After joining the call, I can't change the audio route in any way. The same problem occurs even after removing all the components whose UI I've customized.

Metadata

Metadata

Assignees

No one assigned

    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