apivideo/api.video-reactnative-live-stream

live streaming from camera works on IOS but not Android

Closed this issue ยท 36 comments

Hello! I'm currently using Amazon IVS service and trying to use this .
I used the React Native Example code from this repository and also added permission into 'AndroidManifest.xml' file same as example.
it works only on IOS device but not on Android.

import React, {useRef, useState} from 'react';
import {
  StatusBar,
  Text, TouchableOpacity,
  View
} from 'react-native';
import {LiveStreamView} from '@api.video/react-native-livestream';

interface Props {
  children?: React.ReactNode;
}
const VideoPage: React.FC<Props> = (props) => {
  const ref = useRef(null);
  const [streaming, setStreaming] = useState(false);

  return (
    <View style={{flex: 1, alignItems: 'center'}}>
      <StatusBar animated={true} barStyle="light-content" />
      <LiveStreamView
        style={{flex: 1, backgroundColor: 'black', alignSelf: 'stretch'}}
        ref={ref}
        camera={'back'}
        video={{
          fps: 30,
          resolution: '480p',
          bitrate: 1 * 1024, // # 2 Mbps
        }}
        audio={{
          bitrate: 128,
          // isStereo: false,
        }}
        isMuted={true}
        onConnectionSuccess={() => {
          //do what you want
        }}
        onConnectionFailed={(e) => {
          //do what you want
        }}
        onDisconnect={() => {
          //do what you want
        }}
      />
      <View style={{position: 'absolute', bottom: 40}}>
        <TouchableOpacity
          style={{
            borderRadius: 50,
            backgroundColor: streaming ? 'red' : 'white',
            width: 50,
            height: 50,
          }}
          onPress={() => {
            if (streaming) {
              ref.current?.stopStreaming();
              setStreaming(false);
            } else {
              ref.current?.startStreaming('key', 'url_ends_with_slash');
              setStreaming(true);
            }
          }}
        />
      </View>
    </View>
  );
};
export default VideoPage;
<manifest>
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.RECORD_AUDIO" />
  <uses-permission android:name="android.permission.CAMERA" />
</manifest>

Screenshots of Amazon IVS report

Android

image

image

[Amazon IVS report] IOS

image

image

Smartphone

[working] IOS

  • Device: iPad mini 6th gen
  • OS: iOS15.4
  • Browser: React Native
  • Version: 0.66.4

[not working] Android

  • Device: Galaxy S20
  • OS: android 12
  • Browser: React Native
  • Version: 0.66.4

Do you have any idea why it is not working properly on android device?

Hi,

I tested your settings with ffplay -listen 1 -i rtmp://0.0.0.0:1935/s/streamKey and I couldn't not reproduce it. Could you also test this ffplay command?

From what I read from the IVS report, the startvation happens after 7 min, right?

I will try it this weekend and let you know what i got ! thanks!

I'm having the same issue. I'm going to try now with ffmpeg but since that is a command line tool are we sure that it's correct to test in this way?

@TheFe91
Do you have the issue on Amazon IVS as well?
Does it happen on the beginning of a stream?
Does the application crashes?

@ThibaultBee no, I use MUX as provider.
I tried with an Oppo Reno Z as mobile phone. No errors are raised in console, the onConnectionSuccess fires but no signal arrives to Mux. And no, the app doesn't crash, it simply does nothing. Hope this helps

@TheFe91 @hwlee-dev
Do you have any logs or metrics on the server side?

@TheFe91
Just tested the example again. After going to foreground, it seems that the first live streaming does not send anything but the next one are ok. Could you test several startStreaming/stopStreaming without going to background?

I currently don't have those, I'll report as soon as I can.
A further detail that I forgot to mention: my app was crashing until I put compileSdkVerion and targetSdkVersion to 31 and put this into android/app/build.gradle file

implementation ("androidx.appcompat:appcompat:1.3.1") {
    version {
        strictly '1.3.1'
    }
}

I guess we face the same issue. Alternatively, you can upgrade RN >= 0.68.

Ok, I find something.
@hwlee-dev Could you test the following process:

  • launch the application
  • start a live streaming
  • verify that it run properly
  • stop the live streaming
  • send your application to background
  • get your application back to foreground
  • start a live streaming
  • verify that it seems to be running but don't (it is a bug)
  • stop the live streaming
  • test that as long as you don't go to background, following live streaming are ok.

Ok i will try tomorrow. (It is friday here)

@ThibaultBee
I updated from 0.66.4 to RN version 0.68.2 and tried the process as you explained but it is still not working.
App doesn't crash and there is no warning or error.
Here are some images

image

image

Also I could check an error message below using this command,
adb logcat -s ReactNativeLiveStreamView:V

06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView: startStreaming failed
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView: io.github.thibaultbee.streampack.error.StreamPackError: java.net.ConnectException: Failed to connectStream
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.startStream(BaseStreamer.kt:302)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer.startStream$suspendImpl(BaseCameraLiveStreamer.kt:97)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer$startStream$1.invokeSuspend(Unknown Source:15)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.livestream.ApiVideoLiveStream.startStreaming(ApiVideoLiveStream.kt:252)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamView.startStreaming$api_video_react_native_livestream_debug(ReactNativeLiveStreamView.kt:110)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:36)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:13)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.NativeViewHierarchyManager.dispatchCommand(NativeViewHierarchyManager.java:831)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchCommandOperation.executeWithExceptions(UIViewOperationQueue.java:323)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:879)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.access$2600(UIViewOperationQueue.java:47)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1106)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer.doCallbacks(Choreographer.java:866)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer.doFrame(Choreographer.java:792)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Handler.handleCallback(Handler.java:938)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Handler.dispatchMessage(Handler.java:99)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Looper.loopOnce(Looper.java:226)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Looper.loop(Looper.java:313)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.app.ActivityThread.main(ActivityThread.java:8669)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at java.lang.reflect.Method.invoke(Native Method)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

I haven't used Kotlin before so I don't know if I understood correctly but I tried.
it looks like it takes one parameter but it sends two parameters
from

ReactNativeLiveStreamView.kt

url?.let { apiVideoLiveStream?.startStreaming(streamKey, it) }
        ?: apiVideoLiveStream?.startStreaming(streamKey)

to

io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer$startStream

override suspend fun startStream(url: String) {
    connect(url)
    startStream()
}

Also I wonder url looks like rtmps://url/streamKey.

Please let me know if i was wrong!

Thanks in advance

I'm having the same issues with Android. I've updated to the correct SDK and build tools, gradle is updated as well. I'm using restream.io to monitor the stream, it receives the connection, but there is zero data being received

Also I could check an error message below using this command, adb logcat -s ReactNativeLiveStreamView:V

06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView: startStreaming failed
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView: io.github.thibaultbee.streampack.error.StreamPackError: java.net.ConnectException: Failed to connectStream
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.startStream(BaseStreamer.kt:302)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer.startStream$suspendImpl(BaseCameraLiveStreamer.kt:97)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer$startStream$1.invokeSuspend(Unknown Source:15)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.livestream.ApiVideoLiveStream.startStreaming(ApiVideoLiveStream.kt:252)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamView.startStreaming$api_video_react_native_livestream_debug(ReactNativeLiveStreamView.kt:110)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:36)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:13)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.NativeViewHierarchyManager.dispatchCommand(NativeViewHierarchyManager.java:831)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchCommandOperation.executeWithExceptions(UIViewOperationQueue.java:323)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:879)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.access$2600(UIViewOperationQueue.java:47)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1106)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer.doCallbacks(Choreographer.java:866)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer.doFrame(Choreographer.java:792)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Handler.handleCallback(Handler.java:938)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Handler.dispatchMessage(Handler.java:99)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Looper.loopOnce(Looper.java:226)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.os.Looper.loop(Looper.java:313)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at android.app.ActivityThread.main(ActivityThread.java:8669)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at java.lang.reflect.Method.invoke(Native Method)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
06-11 03:05:27.919 10031 10031 W ReactNativeLiveStreamView:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

If java.net.ConnectException: Failed to connectStream happens, your live streaming is not running which means librtmp RTMP_ConnectStream have failed. But if this exception happens, the live stream does not start.

Do you have other log above this exception?

I haven't used Kotlin before so I don't know if I understood correctly but I tried. it looks like it takes one parameter but it sends two parameters from

ReactNativeLiveStreamView.kt

url?.let { apiVideoLiveStream?.startStreaming(streamKey, it) }
        ?: apiVideoLiveStream?.startStreaming(streamKey)

to

io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer$startStream

override suspend fun startStream(url: String) {
    connect(url)
    startStream()
}

You are missing a library that does: "url + / + streamKey". If the connectStream failed, the application is already connected.
I am going to fix that odd behavior: if the startStream failed, it should disconnect the application as well.
But the main issue here is: why does connectStream fail?

Also I wonder url looks like rtmps://url/streamKey.

(You are missing a path, it should be rtmps://url/s/streamKey
I see you try to live stream with RTMPS, I have never tested RTMPS yet and don't really know how to test it. Does IVS expect specific message?

This bug is highly device-dependent: I just tried with a Motorola MOTO G 5G Plus w/ Android 11 and it's working without troubles
Schermata 2022-06-13 alle 10 12 53

@hwlee-dev I have made fixes in the main branch that should fixed:

  • force disconnection when startStream throw an exception
  • fix first live stream when application is back to foreground

So, now you should only faced the connectStream exception.
Could you send the logs before the connectStream exception?

Okay i will share logs in 12 hours! Thanks

Just checking in, did the logs reveal any new info @hwlee-dev ?

oh I forgot to share logs. sorry.
this is all I got @Psionyx @ThibaultBee

adb logcat -s ReactNativeLiveStreamView:V
--------- beginning of main
06-17 00:35:15.712 16730 18111 I ReactNativeLiveStreamView: Connection success
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView: startStreaming failed
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView: io.github.thibaultbee.streampack.error.StreamPackError: java.net.ConnectException: Failed to connectStream
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.startStream(BaseStreamer.kt:302)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer.startStream$suspendImpl(BaseCameraLiveStreamer.kt:97)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer$startStream$1.invokeSuspend(Unknown Source:15)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.livestream.ApiVideoLiveStream.startStreaming(ApiVideoLiveStream.kt:252)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.livestream.ApiVideoLiveStream.startStreaming$default(ApiVideoLiveStream.kt:241)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamView.startStreaming$api_video_react_native_livestream_debug(ReactNativeLiveStreamView.kt:111)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:36)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:13)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.NativeViewHierarchyManager.dispatchCommand(NativeViewHierarchyManager.java:831)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchCommandOperation.executeWithExceptions(UIViewOperationQueue.java:323)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:879)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.access$2600(UIViewOperationQueue.java:47)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1106)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer.doCallbacks(Choreographer.java:866)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer.doFrame(Choreographer.java:792)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Handler.handleCallback(Handler.java:938)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Handler.dispatchMessage(Handler.java:99)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Looper.loopOnce(Looper.java:226)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Looper.loop(Looper.java:313)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.app.ActivityThread.main(ActivityThread.java:8669)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at java.lang.reflect.Method.invoke(Native Method)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView: Caused by: java.net.ConnectException: Failed to connectStream
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.rtmpdroid.Rtmp.connectStream(Rtmp.kt:94)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.ext.rtmp.internal.endpoints.RtmpProducer.startStream(RtmpProducer.kt:75)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.startStream(BaseStreamer.kt:277)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     ... 36 more

@ThibaultBee Not sure if this is of any value, but I ran StreamPack directly on the device and logged the errors when I started the stream:

2022-06-16 12:33:52.082 22564-22564/io.github.thibaultbee.streampack.sample I/ViewRootImpl@eadedc3[MainActivity]: ViewPostIme pointer 0
2022-06-16 12:33:52.246 22564-22564/io.github.thibaultbee.streampack.sample I/ViewRootImpl@eadedc3[MainActivity]: ViewPostIme pointer 1
2022-06-16 12:33:52.260 22564-24031/io.github.thibaultbee.streampack.sample D/TcpOptimizer: TcpOptimizer-ON
2022-06-16 12:33:52.263 22564-22564/io.github.thibaultbee.streampack.sample D/DecorView: semSetRoundedCorners: 5
2022-06-16 12:33:52.417 22564-24031/io.github.thibaultbee.streampack.sample I/PreviewViewModel: Connection succeeded
2022-06-16 12:33:53.335 22564-22564/io.github.thibaultbee.streampack.sample W/MediaCodec: keep callback message for reclaim
2022-06-16 12:33:53.335 22564-24025/io.github.thibaultbee.streampack.sample I/CCodec: state->set(STARTING)
2022-06-16 12:33:53.337 22564-24025/io.github.thibaultbee.streampack.sample W/Codec2Client: query -- param skipped: index = 1342179345.
2022-06-16 12:33:53.337 22564-24025/io.github.thibaultbee.streampack.sample W/Codec2Client: query -- param skipped: index = 2415921170.
2022-06-16 12:33:53.338 22564-24025/io.github.thibaultbee.streampack.sample E/FMQ: grantorIdx must be less than 3
2022-06-16 12:33:53.338 22564-24025/io.github.thibaultbee.streampack.sample E/FMQ: grantorIdx must be less than 3
2022-06-16 12:33:53.338 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
2022-06-16 12:33:53.339 22564-24025/io.github.thibaultbee.streampack.sample I/CCodecBufferChannel: [c2.android.aac.encoder#8] Created output block pool with allocatorID 16 => poolID 282 - OK
2022-06-16 12:33:53.339 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] Configured output block pool ids 282 => OK
2022-06-16 12:33:53.340 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] start: updating output delay 0
2022-06-16 12:33:53.340 22564-24025/io.github.thibaultbee.streampack.sample I/CCodec: state->set(RUNNING)
2022-06-16 12:33:53.340 22564-24025/io.github.thibaultbee.streampack.sample E/ion: ioctl c0044901 failed with code -1: Inappropriate ioctl for device
2022-06-16 12:33:53.354 22564-22564/io.github.thibaultbee.streampack.sample W/MediaCodec: keep callback message for reclaim
2022-06-16 12:33:53.354 22564-24012/io.github.thibaultbee.streampack.sample I/CCodec: state->set(STARTING)
2022-06-16 12:33:53.360 22564-24013/io.github.thibaultbee.streampack.sample W/Codec2Client: query -- param skipped: index = 1342179345.
2022-06-16 12:33:53.360 22564-24013/io.github.thibaultbee.streampack.sample W/Codec2Client: query -- param skipped: index = 2415921170.
2022-06-16 12:33:53.360 22564-24013/io.github.thibaultbee.streampack.sample W/Codec2Client: query -- param skipped: index = 1610614798.
2022-06-16 12:33:53.361 22564-24013/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] Query input allocators returned 0 params => BAD_INDEX (6)
2022-06-16 12:33:53.361 22564-24013/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] Using basic input block pool with poolID 1 => got 1 - OK (0)
2022-06-16 12:33:53.361 22564-24013/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] Query output allocators returned 0 params => BAD_INDEX (6)
2022-06-16 12:33:53.361 22564-24013/io.github.thibaultbee.streampack.sample I/CCodecBufferChannel: [c2.qti.avc.encoder#131] Created output block pool with allocatorID 16 => poolID 109 - OK
2022-06-16 12:33:53.362 22564-24013/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] Configured output block pool ids 109 => OK
2022-06-16 12:33:53.362 22564-24013/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] start: updating output delay 4
2022-06-16 12:33:53.362 22564-24013/io.github.thibaultbee.streampack.sample I/CCodec: state->set(RUNNING)
2022-06-16 12:33:53.363 22564-24012/io.github.thibaultbee.streampack.sample I/MediaCodec: setCodecState state : 0
2022-06-16 12:33:53.364 22564-22564/io.github.thibaultbee.streampack.sample I/Choreographer: Skipped 56 frames! The application may be doing too much work on its main thread.
2022-06-16 12:33:53.367 22564-24007/io.github.thibaultbee.streampack.sample I/OpenGLRenderer: Davey! duration=942ms; Flags=0, IntendedVsync=1249046799542955, Vsync=1249047732876251, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1249047738813629, AnimationStart=1249047738818004, PerformTraversalsStart=1249047739323941, DrawStart=1249047739540347, SyncQueued=1249047739971649, SyncStart=1249047740221701, IssueDrawCommandsStart=1249047740368004, SwapBuffers=1249047741357587, FrameCompleted=1249047742010920, DequeueBufferDuration=237761, QueueBufferDuration=168281, GpuCompleted=0,
2022-06-16 12:33:53.439 22564-24025/io.github.thibaultbee.streampack.sample E/FMQ: grantorIdx must be less than 3
2022-06-16 12:33:53.442 22564-24017/io.github.thibaultbee.streampack.sample E/FMQ: grantorIdx must be less than 3
2022-06-16 12:33:53.500 22564-24027/io.github.thibaultbee.streampack.sample I/: Format changed : {max-bitrate=128000, aac-sbr-mode=3, sample-rate=44100, level=0, mime=audio/mp4a-latm, profile=2, channel-count=2, bitrate=128000, csd-0=java.nio.HeapByteBuffer[pos=0 lim=2 cap=2]}
2022-06-16 12:33:53.603 22564-24021/io.github.thibaultbee.streampack.sample D/C2OMXNode: dataspace changed to 0x104 pixel format: 0x1
2022-06-16 12:33:53.622 22564-24017/io.github.thibaultbee.streampack.sample E/FMQ: grantorIdx must be less than 3
2022-06-16 12:33:53.623 22564-24013/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] onWorkDone: updating output delay 4
2022-06-16 12:33:53.625 22564-24019/io.github.thibaultbee.streampack.sample I/: Format changed : {max-bitrate=4872000, crop-right=719, level=524288, mime=video/avc, profile=8, bitrate=4872000, priority=0, intra-refresh-period=0, color-standard=130816, feature-secure-playback=0, csd-1=java.nio.HeapByteBuffer[pos=0 lim=9 cap=9], color-transfer=65791, crop-bottom=1279, prepend-sps-pps-to-idr-frames=0, crop-left=0, width=720, bitrate-mode=1, color-range=0, crop-top=0, frame-rate=30, height=1280, csd-0=java.nio.HeapByteBuffer[pos=0 lim=22 cap=22]}
2022-06-16 12:33:53.625 22564-24012/io.github.thibaultbee.streampack.sample I/MediaCodec: setCodecState state : 1
2022-06-16 12:33:56.635 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:33:56.635 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 1 / 4
2022-06-16 12:33:56.635 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:33:56.635 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:33:58.371 22564-24025/io.github.thibaultbee.streampack.sample D/BufferPoolAccessor2.0: bufferpool2 0x75fb488028 : 5(20480 size) total buffers - 4(16384 size) used buffers - 213/218 (recycle/alloc) - 6/427 (fetch/transfer)
2022-06-16 12:33:59.936 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:33:59.936 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 4
2022-06-16 12:33:59.936 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:33:59.936 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:03.243 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:03.244 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 4
2022-06-16 12:34:03.244 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:03.244 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:03.429 22564-24025/io.github.thibaultbee.streampack.sample D/BufferPoolAccessor2.0: bufferpool2 0x75fb488028 : 5(20480 size) total buffers - 4(16384 size) used buffers - 430/435 (recycle/alloc) - 8/861 (fetch/transfer)
2022-06-16 12:34:06.547 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:06.547 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 4
2022-06-16 12:34:06.547 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:06.547 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:08.478 22564-24025/io.github.thibaultbee.streampack.sample D/BufferPoolAccessor2.0: bufferpool2 0x75fb488028 : 5(20480 size) total buffers - 4(16384 size) used buffers - 648/653 (recycle/alloc) - 9/1297 (fetch/transfer)
2022-06-16 12:34:09.866 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:09.866 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 1 / 4
2022-06-16 12:34:09.866 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:09.866 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:13.168 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:13.168 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 4
2022-06-16 12:34:13.168 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:13.168 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:13.553 22564-24025/io.github.thibaultbee.streampack.sample D/BufferPoolAccessor2.0: bufferpool2 0x75fb488028 : 5(20480 size) total buffers - 4(16384 size) used buffers - 867/872 (recycle/alloc) - 11/1735 (fetch/transfer)
2022-06-16 12:34:16.472 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:16.472 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 1 / 4
2022-06-16 12:34:16.472 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:16.472 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:18.585 22564-24025/io.github.thibaultbee.streampack.sample D/BufferPoolAccessor2.0: bufferpool2 0x75fb488028 : 5(20480 size) total buffers - 4(16384 size) used buffers - 1083/1088 (recycle/alloc) - 11/2167 (fetch/transfer)
2022-06-16 12:34:19.772 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:19.772 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 4
2022-06-16 12:34:19.772 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:19.772 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:23.073 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:23.073 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 1 / 4
2022-06-16 12:34:23.073 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:23.073 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:23.645 22564-24025/io.github.thibaultbee.streampack.sample D/BufferPoolAccessor2.0: bufferpool2 0x75fb488028 : 5(20480 size) total buffers - 4(16384 size) used buffers - 1301/1306 (recycle/alloc) - 12/2603 (fetch/transfer)
2022-06-16 12:34:26.375 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:26.375 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 4
2022-06-16 12:34:26.375 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:26.375 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:28.708 22564-24025/io.github.thibaultbee.streampack.sample D/BufferPoolAccessor2.0: bufferpool2 0x75fb488028 : 5(20480 size) total buffers - 4(16384 size) used buffers - 1520/1525 (recycle/alloc) - 13/3041 (fetch/transfer)
2022-06-16 12:34:29.681 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] DEBUG: elapsed: n=4 [in=0 pipeline=0 out=0 smoothness=4]
2022-06-16 12:34:29.681 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 4
2022-06-16 12:34:29.681 22564-24014/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.qti.avc.encoder#131] DEBUG: elapsed: n=8 [in=0 pipeline=0 out=4 smoothness=4]
2022-06-16 12:34:29.681 22564-24014/io.github.thibaultbee.streampack.sample D/PipelineWatcher: DEBUG: elapsed 0 / 8
2022-06-16 12:34:32.553 22564-22564/io.github.thibaultbee.streampack.sample I/ViewRootImpl@eadedc3[MainActivity]: ViewPostIme pointer 0
2022-06-16 12:34:32.744 22564-22564/io.github.thibaultbee.streampack.sample I/ViewRootImpl@eadedc3[MainActivity]: ViewPostIme pointer 1
2022-06-16 12:34:32.762 22564-22564/io.github.thibaultbee.streampack.sample D/VideoMediaCodecEncoder: Not running
2022-06-16 12:34:32.784 22564-22564/io.github.thibaultbee.streampack.sample D/AudioMediaCodecEncoder: Not running
2022-06-16 12:34:32.871 22564-24025/io.github.thibaultbee.streampack.sample I/CCodec: state->set(RELEASING)
2022-06-16 12:34:32.872 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] MediaCodec discarded an unknown buffer
2022-06-16 12:34:32.872 22564-24646/io.github.thibaultbee.streampack.sample I/CCodec: [c2.android.aac.encoder] release(1)
2022-06-16 12:34:32.873 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] MediaCodec discarded an unknown buffer
2022-06-16 12:34:32.873 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] MediaCodec discarded an unknown buffer
2022-06-16 12:34:32.873 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] MediaCodec discarded an unknown buffer
2022-06-16 12:34:32.873 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] MediaCodec discarded an unknown buffer
2022-06-16 12:34:32.873 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] MediaCodec discarded an unknown buffer
2022-06-16 12:34:32.873 22564-24025/io.github.thibaultbee.streampack.sample D/CCodecBufferChannel: [c2.android.aac.encoder#8] MediaCodec discarded an unknown buffer
2022-06-16 12:34:32.873 22564-24646/io.github.thibaultbee.streampack.sample I/CCodec: state->set(RELEASED)
2022-06-16 12:34:32.873 22564-24025/io.github.thibaultbee.streampack.sample I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
2022-06-16 12:34:32.874 22564-22564/io.github.thibaultbee.streampack.sample D/AudioMediaCodecEncoder: createCodec: {sample-rate=44100, mime=audio/mp4a-latm, channel-count=2}
2022-06-16 12:34:32.876 22564-24025/io.github.thibaultbee.streampack.sample I/MediaCodec: Codec shutdown complete
2022-06-16 12:34:32.878 22564-24647/io.github.thibaultbee.streampack.sample I/CCodec: state->set(ALLOCATING)
2022-06-16 12:34:32.878 22564-24647/io.github.thibaultbee.streampack.sample I/CCodec: allocate(c2.android.aac.encoder)
2022-06-16 12:34:32.880 22564-24647/io.github.thibaultbee.streampack.sample I/CCodec: setting up 'default' as default (vendor) store
2022-06-16 12:34:32.882 22564-24647/io.github.thibaultbee.streampack.sample I/CCodec: Created component [c2.android.aac.encoder]
2022-06-16 12:34:32.882 22564-24647/io.github.thibaultbee.streampack.sample I/CCodec: state->set(ALLOCATED)
2022-06-16 12:34:32.882 22564-24647/io.github.thibaultbee.streampack.sample D/CCodecConfig: read media type: audio/mp4a-latm
2022-06-16 12:34:32.885 22564-24647/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values
2022-06-16 12:34:32.885 22564-24647/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values
2022-06-16 12:34:32.885 22564-24647/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values
2022-06-16 12:34:32.885 22564-24647/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values
2022-06-16 12:34:32.885 22564-24647/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values
2022-06-16 12:34:32.885 22564-24647/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
2022-06-16 12:34:32.886 22564-24647/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values
2022-06-16 12:34:32.887 22564-24647/io.github.thibaultbee.streampack.sample I/CCodecConfig: query failed after returning 9 values (BAD_INDEX)
2022-06-16 12:34:32.887 22564-24647/io.github.thibaultbee.streampack.sample D/CCodecConfig: c2 config diff is Dict {
c2::u32 coded.bitrate.value = 64000
c2::u32 coded.pl.level = 0
c2::u32 coded.pl.profile = 8192
c2::u32 coding.aac-sbr-mode.value = 3
c2::u32 input.buffers.max-size.value = 2048
c2::u32 input.delay.value = 0
string input.media-type.value = "audio/raw"
string output.media-type.value = "audio/mp4a-latm"
c2::u32 raw.channel-count.value = 1
c2::u32 raw.sample-rate.value = 44100
}
2022-06-16 12:34:32.889 22564-24647/io.github.thibaultbee.streampack.sample I/MediaCodec: MediaCodec will operate in async mode
2022-06-16 12:34:32.890 22564-24647/io.github.thibaultbee.streampack.sample D/CCodec: [c2.android.aac.encoder] buffers are bound to CCodec for this session
2022-06-16 12:34:32.890 22564-24647/io.github.thibaultbee.streampack.sample D/CCodec: can't get width
2022-06-16 12:34:32.890 22564-24647/io.github.thibaultbee.streampack.sample D/CCodec: can't get height
2022-06-16 12:34:32.890 22564-24647/io.github.thibaultbee.streampack.sample I/CCodec: appPid(22564) width(0) height(0)
2022-06-16 12:34:32.890 22564-24647/io.github.thibaultbee.streampack.sample D/CCodecConfig: no c2 equivalents for aac-profile
2022-06-16 12:34:32.890 22564-24647/io.github.thibaultbee.streampack.sample D/CCodecConfig: no c2 equivalents for flags
2022-06-16 12:34:32.890 22564-24647/io.github.thibaultbee.streampack.sample D/CCodecConfig: no c2 equivalents for encoder
2022-06-16 12:34:32.891 22564-24647/io.github.thibaultbee.streampack.sample D/CCodecConfig: c2 config diff is c2::u32 coded.bitrate.value = 128000
c2::u32 input.buffers.max-size.value = 4096
c2::u32 raw.channel-count.value = 2
2022-06-16 12:34:32.891 22564-24647/io.github.thibaultbee.streampack.sample W/Codec2Client: query -- param skipped: index = 1107298332.
2022-06-16 12:34:32.891 22564-24647/io.github.thibaultbee.streampack.sample D/CCodec: setup formats input: AMessage(what = 0x00000000) = {
int32_t aac-sbr-mode = 3
int32_t channel-count = 2
int32_t max-input-size = 4096
string mime = "audio/raw"
int32_t sample-rate = 44100
} and output: AMessage(what = 0x00000000) = {
int32_t aac-sbr-mode = 3
int32_t bitrate = 128000
int32_t channel-count = 2
int32_t level = 0
int32_t max-bitrate = 128000
string mime = "audio/mp4a-latm"
int32_t profile = 2
int32_t sample-rate = 44100
}
2022-06-16 12:34:32.891 22564-24012/io.github.thibaultbee.streampack.sample I/CCodec: state->set(RELEASING)
2022-06-16 12:34:32.893 22564-24650/io.github.thibaultbee.streampack.sample I/CCodec: [c2.qti.avc.encoder] release(1)
2022-06-16 12:34:32.894 22564-22564/io.github.thibaultbee.streampack.sample D/VideoMediaCodecEncoder: createCodec: {mime=video/avc, width=1280, height=720}
2022-06-16 12:34:32.895 22564-22564/io.github.thibaultbee.streampack.sample D/MediaCodec: MediaCodec::reclaim(0x766b5c6780) c2.qti.avc.encoder
2022-06-16 12:34:32.901 22564-24650/io.github.thibaultbee.streampack.sample I/CCodec: state->set(RELEASED)
2022-06-16 12:34:32.902 22564-24013/io.github.thibaultbee.streampack.sample I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients
2022-06-16 12:34:32.902 22564-24012/io.github.thibaultbee.streampack.sample I/MediaCodec: Codec shutdown complete
2022-06-16 12:34:32.905 22564-22564/io.github.thibaultbee.streampack.sample D/MediaCodec: MediaCodec looper is gone, skip reclaim
2022-06-16 12:34:32.907 22564-24651/io.github.thibaultbee.streampack.sample I/CCodec: state->set(ALLOCATING)
2022-06-16 12:34:32.907 22564-24652/io.github.thibaultbee.streampack.sample I/CCodec: allocate(c2.qti.avc.encoder)
2022-06-16 12:34:32.909 22564-24652/io.github.thibaultbee.streampack.sample I/CCodec: setting up 'default' as default (vendor) store
2022-06-16 12:34:32.918 22564-24652/io.github.thibaultbee.streampack.sample I/CCodec: Created component [c2.qti.avc.encoder]
2022-06-16 12:34:32.918 22564-24652/io.github.thibaultbee.streampack.sample I/CCodec: state->set(ALLOCATED)
2022-06-16 12:34:32.918 22564-24652/io.github.thibaultbee.streampack.sample D/CCodecConfig: read media type: video/avc
2022-06-16 12:34:32.920 22564-24652/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: vendor.qti-ext-enc-info-metadata-cvp.reserved
2022-06-16 12:34:32.920 22564-24652/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values
2022-06-16 12:34:32.922 22564-24652/io.github.thibaultbee.streampack.sample D/ReflectedParamUpdater: ignored struct field coding.gop.values
2022-06-16 12:34:32.927 22564-24652/io.github.thibaultbee.streampack.sample D/CCodecConfig: ignoring local param raw.color (0xc2001809) as it is already supported
2022-06-16 12:34:32.927 22564-24652/io.github.thibaultbee.streampack.sample I/CCodecConfig: query failed after returning 22 values (BAD_INDEX)

In this moment by referencing "@api.video/react-native-livestream": "git+https://github.com/apivideo/api.video-reactnative-live-stream" in the package.json file and updating my Android configurations, the bug seems gone!

My updated config:

android/app/build.gradle

implementation ("androidx.appcompat:appcompat:1.4.2") {
  version {
    strictly '1.3.1'
  }
}

android/app/src/main/AndroidManifest.xml

<activity
        android:screenOrientation="portrait"
        android:name="companyDomain.companyName.appName.MainActivity"
        android:label="@string/app_name"
        android:exported="true" <== added this line
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
        android:launchMode="singleTask"
        android:windowSoftInputMode="adjustResize" tools:ignore="MissingClass">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
</activity>

@TheFe91 thanks for the information but it doesn't work on galaxy s20 (android 12). ๐Ÿ˜ญ

@hwlee-dev I can try with that Phone tomorrow evening (GMT+1, Rome). I'll let you know

oh I forgot to share logs. sorry. this is all I got @Psionyx @ThibaultBee

adb logcat -s ReactNativeLiveStreamView:V
--------- beginning of main
06-17 00:35:15.712 16730 18111 I ReactNativeLiveStreamView: Connection success
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView: startStreaming failed
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView: io.github.thibaultbee.streampack.error.StreamPackError: java.net.ConnectException: Failed to connectStream
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.startStream(BaseStreamer.kt:302)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer.startStream$suspendImpl(BaseCameraLiveStreamer.kt:97)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.live.BaseCameraLiveStreamer$startStream$1.invokeSuspend(Unknown Source:15)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.livestream.ApiVideoLiveStream.startStreaming(ApiVideoLiveStream.kt:252)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.livestream.ApiVideoLiveStream.startStreaming$default(ApiVideoLiveStream.kt:241)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamView.startStreaming$api_video_react_native_livestream_debug(ReactNativeLiveStreamView.kt:111)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:36)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.reactnative.livestream.ReactNativeLiveStreamViewManager.receiveCommand(ReactNativeLiveStreamViewManager.kt:13)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.NativeViewHierarchyManager.dispatchCommand(NativeViewHierarchyManager.java:831)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchCommandOperation.executeWithExceptions(UIViewOperationQueue.java:323)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:879)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue.access$2600(UIViewOperationQueue.java:47)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1106)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer.doCallbacks(Choreographer.java:866)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer.doFrame(Choreographer.java:792)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Handler.handleCallback(Handler.java:938)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Handler.dispatchMessage(Handler.java:99)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Looper.loopOnce(Looper.java:226)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.os.Looper.loop(Looper.java:313)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at android.app.ActivityThread.main(ActivityThread.java:8669)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at java.lang.reflect.Method.invoke(Native Method)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView: Caused by: java.net.ConnectException: Failed to connectStream
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at video.api.rtmpdroid.Rtmp.connectStream(Rtmp.kt:94)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.ext.rtmp.internal.endpoints.RtmpProducer.startStream(RtmpProducer.kt:75)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.startStream(BaseStreamer.kt:277)
06-17 00:35:16.100 16730 16730 W ReactNativeLiveStreamView:     ... 36 more

Could you remove the filter on ReactNativeLiveStreamView? I am expecting other logs (specially ones from rtmpdroid)

@ThibaultBee if this helps just seeing a generic 'RTMP_ReadPacket, failed to read RTMP packet header':
2022-07-14 14:08:41.075 15953-15953 I/ViewRootImpl@a696b92[MainActivity]: ViewPostIme pointer 0 2022-07-14 14:08:41.204 15953-15953 I/ViewRootImpl@a696b92[MainActivity]: ViewPostIme pointer 1 2022-07-14 14:08:41.316 15953-16441 I/ReactNativeLiveStreamView: Connection success 2022-07-14 14:08:41.317 15953-16379 I/ReactNativeJS: Received onConnectionSuccess 2022-07-14 14:08:43.665 15953-15953 E/rtmpdroid: RTMP_ReadPacket, failed to read RTMP packet header 2022-07-14 14:08:43.665 15953-15953 E/rtmpdroid: Can't connect stream 2022-07-14 14:08:43.670 15953-15953 D/VideoMediaCodecEncoder: Not running 2022-07-14 14:08:43.671 15953-15953 D/AudioMediaCodecEncoder: Not running 2022-07-14 14:08:43.671 15953-15953 D/AudioCapture: Not running 2022-07-14 14:08:43.672 15953-18521 I/CCodec: state->set(RELEASING) 2022-07-14 14:08:43.673 15953-18785 I/CCodec: [c2.android.aac.encoder] release(1) 2022-07-14 14:08:43.673 15953-15953 D/AudioMediaCodecEncoder: createCodec: {sample-rate=44100, mime=audio/mp4a-latm, channel-count=2} 2022-07-14 14:08:43.674 15953-18785 I/CCodec: state->set(RELEASED) 2022-07-14 14:08:43.674 15953-18521 I/hw-BpHwBinder: onLastStrongRef automatically unlinking death recipients 2022-07-14 14:08:43.674 15953-18521 I/MediaCodec: Codec shutdown complete 2022-07-14 14:08:43.677 15953-18786 I/CCodec: state->set(ALLOCATING) 2022-07-14 14:08:43.677 15953-18786 I/CCodec: allocate(c2.android.aac.encoder) 2022-07-14 14:08:43.679 15953-18786 I/CCodec: setting up 'default' as default (vendor) store 2022-07-14 14:08:43.683 15953-18786 I/CCodec: Created component [c2.android.aac.encoder] 2022-07-14 14:08:43.683 15953-18786 I/CCodec: state->set(ALLOCATED) 2022-07-14 14:08:43.683 15953-18786 D/CCodecConfig: read media type: audio/mp4a-latm 2022-07-14 14:08:43.687 15953-18786 D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2022-07-14 14:08:43.687 15953-18786 D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2022-07-14 14:08:43.687 15953-18786 D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2022-07-14 14:08:43.688 15953-18786 D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2022-07-14 14:08:43.688 15953-18786 D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2022-07-14 14:08:43.688 15953-18786 D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2022-07-14 14:08:43.688 15953-18786 D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2022-07-14 14:08:43.691 15953-18786 I/CCodecConfig: query failed after returning 9 values (BAD_INDEX)

Also filtered saw these:
2022-07-14 14:11:23.293 15953-15953 E/rtmpdroid: WriteN, RTMP send error 32 (66 bytes) 2022-07-14 14:11:23.293 15953-15953 E/rtmpdroid: WriteN, RTMP send error 9 (42 bytes) 2022-07-14 14:11:23.293 15953-15953 E/rtmpdroid: RTMP_ReadPacket, failed to read RTMP packet header 2022-07-14 14:11:23.293 15953-15953 E/rtmpdroid: Can't connect stream

@Psionyx do you have this issue with restream?

Error 32 is a Broken pipe.

I'll try sending directly to YouTube to see what error I get

Hi,

We have made fixes in v1.1.2 that could fix most of the issues reported here.
Could anyone verify before we close this issue?

I'm going to run tests between today and tomorrow, thanks

@ThibaultBee
It works perfectly. Thanks for your support.

cc. @TheFe91

I'm trying but every time I invoke the stopStreaming method the app crashes on Android

This is all the logcat I get:

2022-08-09 12:41:17.491 31739-31901/io.radicalbit.golive E/ion: ioctl c0044901 failed with code -1: Inappropriate ioctl for device

2022-08-09 12:41:20.791 31739-31739/io.radicalbit.golive A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2f3a73706d745a in tid 31739 (dicalbit.golive), pid 31739 (dicalbit.golive)

Hi,
I guess this issue is resolved now. I am closing it.
If you still face a similar issue, please reopen it.

@TheFe91 This is another issue. Please open a new issue but I can say that there aren't enough information to debug anything.

@ThibaultBee you were right, trying with a brand new project updated to the la test version of native works perfectly. I'm going to update my old app and then post here if it works, anyway Definitely not something related to this problem.