Comments (12)
on Android 4.4 device, the 2nd consecutive call to CaptureFrame crashes with
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x801 in tid 32358 (GLThread 5020)
from pldroidmediastreaming.
Could you please provide more informations ?Thanks.
from pldroidmediastreaming.
Call 1: handler.postDelayed(screenshotThread, 500);
Call 1 always succeeds.
Call 2: handler.postDelayed(screenshotThread, 500);
Call 2 intermittently fails on my Motorola G2 (Android 5.0.1) and always on Micromax Yureka (4.4.4)
If I call handler.postDelayed(screenshotThread) more frequently (like once in every 5 secs) it crashes on my Motorola as well.
This is reproducible even when the onFrameCaptured function is empty,
private Runnable screenshotThread = new Runnable() {
@Override
public void run() {
@Override
public void onFrameCaptured(Bitmap bmp) {
}
};
};
from pldroidmediastreaming.
Any logs ?
from pldroidmediastreaming.
I/CameraSurfaceRenderer: captureFrame width:272, height:480
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x801 in tid 32358 (GLThread 5020)
This is the only thing I saw. I will alter my code to reproduce the issue and share the complete logs too Again since the exception is in the native jni code, I am not too sure if any debug logs would be helpful. But I will still share the logs when I generate them
from pldroidmediastreaming.
More Debug logs will be helpful to handle the issue. Thanks.
from pldroidmediastreaming.
I think the following way to catch logs will be more effective:
adb shell logcat -v time thread | tee ~/log.log
from pldroidmediastreaming.
So I clicked on a button which called mCameraStreamingManager.captureFrame. Then I started adb logging and then clicked the button again to call mCameraStreamingManager.captureFrame again and it crashed.
Time when the error occurs - 11-17 17:44:19.701
from pldroidmediastreaming.
The log.txt
is very valuable for debugging. Thanks.
from pldroidmediastreaming.
Had been fixed. The next version will contain the PATCH.
from pldroidmediastreaming.
Awesome news. Thanks
from pldroidmediastreaming.
This is solved in 1.4.3
from pldroidmediastreaming.
Related Issues (20)
- Youtube rtmp link not working HOT 1
- 录屏推流需要使用CameraPreviewFrameView吗?
- 视频进度条 HOT 1
- Access denied finding property "camera.aux.packagelist"
- 推流端预览左右两边有黑色 HOT 1
- 如何推流前预览? HOT 1
- 开始推流后 返回状态码 streamingState = UNAUTHORIZED_STREAMING_URL extra = -3 HOT 1
- 快速开始是不是已经不能快速开始了? HOT 1
- targetSdkVersion 29录屏会闪退 HOT 1
- 编译报错,与我的项目中使用的库有冲突? HOT 2
- 通过captureFrame截帧,图像变形。
- 引用happy-dns,还报NoSuchMethodError错误 HOT 4
- No static method defaultResolver() HOT 3
- Issue with the support of 64 bit libraries.
- Unauthorized Package while starting the Streaming
- Pili Streaming not working with Pili Android Version 2.4.0
- activity添加两个fragment,使用懒加载,第二个fragment,无法调起相机 HOT 1
- 最新Demo运行不起来 HOT 3
- 急急急,请问为啥下载的apk demo是牛直播,github上下载的代码跑起来又不像同一个app
- 播放器拉流问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pldroidmediastreaming.