xiqi / react-native-live-audio-stream

Get live audio stream data for React Native (works for iOS and Android)
MIT License
86 stars 36 forks source link

NativeEventEmitter warning when using with expo sdk51 #31

Open sonclark opened 5 months ago

sonclark commented 5 months ago

I am currently using the library with Expo SDK51, testing on development build when i run into the warnings whenever I call start or stop.

The warnings are WARNnew NativeEventEmitter()was called with a non-null argument without the requiredaddListenermethod. WARNnew NativeEventEmitter()was called with a non-null argument without the requiredremoveListenersmethod.

I am assuming this is because the library is older now. Anyone faced the same issue and managed to resolve this?

Nesquik commented 5 months ago

This pull request should fix the warnings you mention: https://github.com/xiqi/react-native-live-audio-stream/pull/20/files

rizhangdev commented 4 months ago

I see the same issue when running on iOS

1stmuse commented 4 weeks ago

i get empty chunk and its called the data event only once

shahzaib78631 commented 2 weeks ago

Facing same issue on IOS

shahzaib78631 commented 2 weeks ago

@Nesquik Your Changes is able to resolve the above mentioned issue, but after that i am getting this error. AudioQueueObject.cpp:1769 BuildConverter: AudioConverterNew returned -50