**** BEGIN LOGGING AT Thu Mar 02 03:00:03 2017 Mar 02 09:24:50 Morning Mar 02 10:01:54 Morning Mar 02 11:35:02 morphis_: do you know what would make qtubuntu-camera fail, when test_camera works ? it looks like I have "QCamera3HWI( 25): int qcamera::QCamera3HardwareInterface::configureStreams" when it works, and "I/mm-camera-sensor( 36): module_sensor_init_session:477 ois device is not supported" when it doesn't, but I don't know what I should look for... Mar 02 16:21:39 morphis: ping Mar 02 19:04:42 morphis: I've now understood what I did wrong: I don't have the qtvideo-node plugin on my side. I'll analyze if we can just take it as-is, but at some point we'll need to create our own infrastructure... Mar 02 19:05:57 (but I see why you needed to create such architecture, both for optimization and also for avoiding having conflicts between threads) Mar 02 19:09:39 Tofe: qtvideo-node hmmzz never heard of that one before Mar 02 19:10:16 Ah viewfinder plugin Mar 02 19:10:20 That's useful Mar 02 19:10:35 The Android camera bits are a bit unlogical at times Mar 02 19:10:51 But I guess when camera works we can also use the LED flash as a torch :P ? Mar 02 19:11:13 Because it's not considered a LED by hybris if I recall correctly Mar 02 19:11:18 But part of camera infra Mar 02 19:13:12 Herrie|2: neither did I :) Mar 02 19:13:37 Herrie|2: yes, flash should work as well Mar 02 19:15:06 :D Mar 02 19:15:15 Phone as flashlight, another useful feature LOL :P Mar 02 19:15:24 Use it quite often on my Pre 3 :P Mar 02 19:15:41 Herrie|2: right now I'm mainly seeing that their qtvideo-node plugin is being used by all kind of video streams (camera, but also films, etc) Mar 02 19:16:18 which means it depends on another piece of Ubuntu software, which abstracts this Mar 02 19:16:38 That's where I'd like to draw the line: we should have our own abstraction Mar 02 19:17:25 Othewise we'll just end up pulling the whole Ubuntu multimedia infrastructure :p Mar 02 19:20:31 I'll try to put in place a little recipe for qtvideo-node, with a simple patch to disable the video sink abstraction and only keep the camera stuff Mar 02 19:25:07 Tofe: Yeah that seems a bit much to get their whole mm infra Mar 02 19:25:14 We shouldn't need it really Mar 02 19:25:24 It probably has a lot of telepathy stuff etc Mar 02 19:26:10 It'll overlap with ours, and it probably also has Mir integration, which we don't need at all Mar 02 19:27:49 Yup :P Mar 02 19:58:23 Herrie: and... it works! Mar 02 19:58:53 I just have a little rotation issue, but it looks like it's a big classic with embedded cameras Mar 02 20:24:49 Tofe: https://liliputing.com/2017/02/moto-mod-brings-slider-keyboard-moto-z-smartphones-crowdfunding.html Mar 02 20:25:06 Too bad it's landscape, but well :-P Mar 02 20:25:30 Getting a port for it would be easier compared to any BB :-P Mar 02 20:25:38 GodGinrai: ^ Mar 02 20:26:04 well we'll have to work on that bluetooth keyboard thing ;) Mar 02 20:26:35 (though I think it shouldn't be that hard to get it working) Mar 02 20:48:30 Herrie|TP: https://github.com/Tofee/luneos-qtvideo-node Mar 02 20:52:59 Herrie|TP: neat Mar 02 20:53:12 Herrie|TP: although, I inherently don't trust anything on Indiegogo Mar 02 20:53:23 I've never seen anything successful and/or nonshady on there Mar 02 20:57:51 Herrie|TP: https://github.com/webOS-ports/meta-webos-ports/pull/215 <-- for the corresponding recipe. Mar 02 20:59:10 GodGinrai: do you know if the webOS's camera app was a native Qt app, or a web app ? Mar 02 20:59:55 I guess it would anyway be nice to be able to integrate the camera into any luneos app... Mar 02 21:05:05 Tofe: Quite suee Mar 02 21:05:12 sure it was web Mar 02 21:05:24 Mojo/Enyo probably Mar 02 21:05:43 with a plugin somewhere then? Mar 02 21:05:45 I think there was a camera API introduced in 3.x Mar 02 21:06:16 ok Mar 02 21:06:35 well, for the moment, I only have support for Qt apps :p Mar 02 21:07:31 And we'll see in the coming days, but we definitely need to find a way to organize all these little modifications I did on the Android side Mar 02 21:08:47 I can fork frameworks/native and frameworks/av, but maybe there's a smarter way Mar 02 21:13:40 I guess com.palm.app.camera is still closed source... Mar 02 21:14:46 I would be interested in their API and also an overview of how they integrate it with webkit... Mar 02 21:14:58 Tofe: I'm not sure, but I would assume a Qt app. I don't think HTML video was far enough along to properly work for a camera app back then Mar 02 21:15:55 GodGinrai: could it have been hybrid, somehow ? I see there are plenty of patches for this app Mar 02 21:16:46 Which patch things like controls-assistant.js etc Mar 02 21:17:35 Tofe: Checking Mar 02 21:17:52 Tofe: I think it was pure Enyo really Mar 02 21:20:12 Seems pure JS to me Mar 02 21:21:21 ok, impressive :) Mar 02 21:21:43 Tofe: https://bpaste.net/show/04c3e4b9d47c Mar 02 21:21:45 This is the app.js Mar 02 21:21:54 Which is 38kb Mar 02 21:22:03 There's plenty of small few KB JS files for other things Mar 02 21:22:05 This is in 3.x Mar 02 21:22:20 Looks like enyo.Video is the key Mar 02 21:24:37 I think underneath it uses webkit mediacapture API Mar 02 21:24:57 yes, it's HTML video node, so directly handled by the browser Mar 02 21:25:56 I have no idea how this works. But I'm sure it's complicated :) Mar 02 21:26:42 I can only dream that Qt has hooked in their media capabilities... Mar 02 21:26:42 Tofe: https://github.com/enyojs/enyo-1.0/tree/52886009e73b665a94a65c5a66b5f285d2cf321d/framework/lib/mediacapture Mar 02 21:27:11 There's some comments in there Mar 02 21:28:05 I guess this is the bit from Ubuntu you just removed :P https://github.com/enyojs/enyo-1.0/blob/52886009e73b665a94a65c5a66b5f285d2cf321d/framework/lib/mediacapture/helper/MediaCaptureProxyHelper.js Mar 02 21:28:13 That's what was in legacy webOS :P Mar 02 21:28:24 name: "mediaServerProxy", kind: "PalmService", service: "palm://com.palm.mediad/service/" Mar 02 21:28:54 Let me see what's behind com.palm.mediad Mar 02 21:29:44 yes, it looks like a part of the multimedia chain Mar 02 21:32:52 Tofe: https://bpaste.net/show/d16871cc95d1 Mar 02 21:33:11 That's in the usr/palm/frameworks/mediacapture Mar 02 21:33:16 At least this is part of that Mar 02 21:35:11 looks like it's hooked to gstreamer behind the scenes Mar 02 21:35:29 (but I guess we are, too) Mar 02 21:36:26 Anyway, I'll looks at that later, once I've cleaned up the Android build situation :) Mar 02 21:45:19 wow Mar 02 21:45:27 I'm actually surprised to know it was Enyo Mar 02 21:45:38 given how horrible HTML5 video was back when that app was made Mar 02 21:53:45 GodGinrai: Well looks like they had some binary behind the scenes too. But probably gstreamer & webkit hooks mainly. **** ENDING LOGGING AT Fri Mar 03 03:00:00 2017