[Bug 788696] ahc2src: Introduce a new source for Android Camera 2 NDK API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 9 03:23:57 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=788696

--- Comment #9 from Justin Kim <justin.joy.9to5 at gmail.com> ---
Review of attachment 371828:
 --> (https://bugzilla.gnome.org/review?bug=788696&attachment=371828)

Here's my commit history.

https://gitlab.collabora.com/joykim/gst-plugins-bad/commits/wip/ndk-camera2

::: sys/androidndk/gstahc2src.c
@@ +315,3 @@
+
+  /* Just sending a repeat-request currently */
+  ndk_capture_session_set_request (self->capture_session,

This is my unsolved problem. The 'capture_session' should be one instance (if
another session is created, the previous one is closed by Android),
but this source element is able to have multiple 'capture_request' if request
pads are created.

If I set 'capture_session' and restart repeat request, it influences on the
stream through always pad (blinking).

I think this is not a way to use Android camera properly, but I can't find any
good example to send another request while streaming.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list