Skip to content

D415, Android, Java Example, Dropped Frames #4701

@medlraffy

Description

@medlraffy
Required Info
Camera Model D415
Firmware Version 05.11.11.100
Operating System & Version Android, 8.0.0
Platform Samsung Galaxy S8
SDK Version 2.26.0
Language Java
Segment Smartphone

Issue Description

I'm running the demo /wrappers/android/examples/java_example.

I have the camera connected with an USB-C to USB-C OTG cable.

I get about 5-20 frames and then get spammed by the message I/librs: Dropped frame. alloc_frame(...) returned nullptr until eventually waitForFrames() throws an "UNKNOWN_ERROR".

I tried to supply Pipeline with a Config with only the depth data enabled but the result was the same.

Config config = new Config();
config.enableStream(StreamType.DEPTH, 640, 480);
Pipeline pipe = new Pipeline();
pipe.start(config);

Here is the tail of my log:

2019-08-21 16:48:32.841 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.863 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.875 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.897 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.909 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.919 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.929 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.940 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.952 8082-8937/com.example.realsense_java_example I/librs: Dropped frame. alloc_frame(...) returned nullptr
2019-08-21 16:48:32.956 8082-8926/com.example.realsense_java_example I/System.out: frameset try-catch: java.lang.RuntimeException: UNKNOWN_ERROR
2019-08-21 16:48:32.962 8082-8937/com.example.realsense_java_example W/librs: Frame received with streaming inactive,Depth0, Arrived,0.000000 1566431312962.790039
2019-08-21 16:48:33.674 8082-8936/com.example.realsense_java_example I/librs: read endpoint: 130, active requests count: 0
2019-08-21 16:48:33.674 8082-8936/com.example.realsense_java_example I/librs: USB pipe 130 reset successfully
2019-08-21 16:48:33.674 8082-8936/com.example.realsense_java_example I/librs: start join stream_thread
2019-08-21 16:48:33.675 8082-8936/com.example.realsense_java_example I/librs: Transfer thread stopped for endpoint address: 130
2019-08-21 16:48:33.675 8082-8926/com.example.realsense_java_example I/librs: The user was holding on to 16 frames after stream 0x0x7793c0d9e0 stopped

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions