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

大佬 我启动之后开启录屏 提示 E/AndroidRuntime: FATAL EXCEPTION: AudioSenderThread 能告诉我怎么解决吗谢谢 #32

Open
1 task
liukaibaby opened this issue Sep 1, 2020 · 3 comments

Comments

@liukaibaby
Copy link

E/ACodec: [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
W/ACodec: do not know color format 0x7fa30c04 = 2141391876
W/ACodec: do not know color format 0x7f000789 = 2130708361
W/ACodec: do not know color format 0x7f000789 = 2130708361
W/IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
W/System.err: java.lang.IllegalStateException: Deque

  • full

E/AndroidRuntime: FATAL EXCEPTION: AudioSenderThread
Process: net.yrom.screenrecorder, PID: 22898
java.lang.IllegalStateException: Deque full
at java.util.concurrent.LinkedBlockingDeque.addLast(LinkedBlockingDeque.java:306)
at java.util.concurrent.LinkedBlockingDeque.add(LinkedBlockingDeque.java:604)
at net.yrom.screenrecorder.task.RtmpStreamingSender.sendFood(RtmpStreamingSender.java:139)
at net.yrom.screenrecorder.ui.activity.ScreenRecordActivity$2.collect(ScreenRecordActivity.java:112)
at net.yrom.screenrecorder.task.AudioSenderThread.sendRealData(AudioSenderThread.java:112)
at net.yrom.screenrecorder.task.AudioSenderThread.run(AudioSenderThread.java:70)
W/System.err: at java.util.concurrent.LinkedBlockingDeque.addLast(LinkedBlockingDeque.java:306)
W/System.err: at java.util.concurrent.LinkedBlockingDeque.add(LinkedBlockingDeque.java:604)
at net.yrom.screenrecorder.task.RtmpStreamingSender.sendFood(RtmpStreamingSender.java:139)
W/System.err: at net.yrom.screenrecorder.ui.activity.ScreenRecordActivity$2.collect(ScreenRecordActivity.java:112)
at net.yrom.screenrecorder.task.ScreenRecorder.sendRealData(ScreenRecorder.java:221)
W/System.err: at net.yrom.screenrecorder.task.ScreenRecorder.recordVirtualDisplay(ScreenRecorder.java:147)
W/System.err: at net.yrom.screenrecorder.task.ScreenRecorder.run(ScreenRecorder.java:95)

@myrao
Copy link
Owner

myrao commented Sep 3, 2020

Deque full,这里的 LinkedBlockingDeque 队列设置大小比较小,demo 中设置的 queue 大小仅作为参考,你需要自定义和维护自己的 queue

@FrankLove
Copy link

@eterrao 博主,请问librtmp的RTMP_SendPacket()函数你是有修改过吗?在网络差的情况下这个发送会不会阻塞?

@myrao
Copy link
Owner

myrao commented Oct 16, 2020

@eterrao 博主,请问librtmp的RTMP_SendPacket()函数你是有修改过吗?在网络差的情况下这个发送会不会阻塞?

好像没有改动过,不太确定阻塞问题 :)

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