Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when tapping on the record button several times in a row. #21

Open
oleg-t opened this issue Jun 9, 2015 · 2 comments
Open

Crash when tapping on the record button several times in a row. #21

oleg-t opened this issue Jun 9, 2015 · 2 comments

Comments

@oleg-t
Copy link

oleg-t commented Jun 9, 2015

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.

@oleg-t oleg-t changed the title Crash when tapping on the record button several time in a row. Crash when tapping on the record button several times in a row. Jun 9, 2015
@shrikanthn
Copy link

I am facing the same issue. On looking at the logs, the connection setup hangs and then a buffer overflow, which crashes the app.

@jpxiong
Copy link

jpxiong commented Jun 16, 2015

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants