Open oleg-t opened 9 years ago
I am facing the same issue. On looking at the logs, the connection setup hangs and then a buffer overflow, which crashes the app.
@shrikanthn Do you have any suggestions to solve the problem? I have the same problem.
Thanks.
E/AndroidRuntime(16754): java.lang.OutOfMemoryError
E/AndroidRuntime(16754): at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
E/AndroidRuntime(16754): at java.nio.MemoryBlock.allocate(MemoryBlock.java:125)
E/AndroidRuntime(16754): at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:72)
E/AndroidRuntime(16754): at io.cine.android.streaming.FFmpegMuxer.writeSampleData(FFmpegMuxer.java:149)
E/AndroidRuntime(16754): at io.cine.android.streaming.AndroidEncoder.drainEncoder(AndroidEncoder.java:128)
E/AndroidRuntime(16754): at io.cine.android.streaming.TextureMovieEncoder.handleFrameAvailable(TextureMovieEncoder.java:245)
at io.cine.android.streaming.TextureMovieEncoder.access$200(TextureMovieEncoder.java:61)
E/AndroidRuntime(16754): at io.cine.android.streaming.TextureMovieEncoder$EncoderHandler.handleMessage(TextureMovieEncoder.java:383)
E/AndroidRuntime(16754): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(16754): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(16754): at io.cine.android.streaming.TextureMovieEncoder.run(TextureMovieEncoder.java:215)
E/AndroidRuntime(16754): at java.lang.Thread.run(Thread.java:841)
In the CineIoExampleApp, press on the round red button a few times without waiting for the streaming to start. The app freezes and/or crashes.