Browser/WebView: Camera video has a blue tint

REPRODUCIBILITY: 100%
OS VERSION: 4.4.0.72 and 4.5.0.18
HARDWARE: Xperia 10 III, Xperia X(Compact), and see list below
UI LANGUAGE: en
REGRESSION: unknown

DESCRIPTION:

On https://meet.jit.si/, the video captured through the device camera (selfie camera) is tinted blue, when that site is used in a Sailfish.WebView WebViewPage, or Sailfish-Browser

PRECONDITIONS:

STEPS TO REPRODUCE:

  1. Browse to https://meet.jit.si/
  2. Create/start a new Meeting
  3. Allow turning on camera

Other test cases see comments below.

Can also be reproduced using Google Meet, talky.io

EXPECTED RESULT:

"real"colors in video

ACTUAL RESULT:

video is tinted blue

MODIFICATIONS:

Patchmanager, with the “Browser Pulley Menu” patch enabled

ADDITIONAL INFORMATION:

Collected info from the discussion thread below:

  • issue appears on both SFOS 4.4 and 4.5
  • devices affected:
    • Xperia 10iii
    • Xperia X (Compact)
    • Xperia XA2
  • devices NOT affected
    • Xperia 10 (Dual SIM)
    • volla/GS290
    • volla22/GS5

I have wrapped Jitsi in a small app using Sailfish Webview: nephros/Gam - Gam - Codeberg.org
The app is not finished, but does show the problem.

This is the WebViewPage: Gam/JitsiPage.qml at master - Gam - Codeberg.org

Similar blue images have been observed in these threads:

Installed       gecko-camera-0.1.4-1.4.9.jolla.aarch64 (installed)              A plugin-based library for
Gecko to simplify video capture
Installed       gecko-camera-droid-plugin-0.1.4-1.4.2.jolla.aarch64 (installed) A droidmedia-based plugin f
or gecko-camera
Installed       droidmedia-0.20211101.0-1.2.2.jolla.aarch64 (installed)         Android media wrapper libra
ry
Installed       gmp-droid-0.5.1-1.4.2.jolla.aarch64 (installed)                 Gecko Media Plugin for droi
dmedia codec support
n
1 Like

I can confirm. I had the same phenomenon using a video calling on hydrogen.

2 Likes

XA2 here, can’t use camera.
On jit.si: “Can’t start the camera for an unknown reason” :frowning:

The “blue tint effect” is only active when front cam is used.

If I’m switching to rear cam this effect is gone. Switching back to front cam will activate the effect again.

I’m on X10III…

2 Likes

Yes using the browser I see that too. But that’s a different thing.
Anyway, that s the output from EMBED_CONSOLE when that happens:

JSComp: EmbedLiteWebrtcUI.js: Existing permission handled
JSComp: EmbedLiteWebrtcUI.js: getUserMedia:response:allow for callID {d68202d3-be20-408d-9533-3680aaea3728}
JSComp: EmbedLiteWebrtcUI.js: Deleting request {d68202d3-be20-408d-9533-3680aaea3728}
JSComp: EmbedLiteWebrtcUI.js: Unsubscribed from embedui:webrtcresponse
JSComp: EmbedLiteWebrtcUI.js: got recording-device-events
JSComp: EmbedLiteWebrtcUI.js: devices in use: {"video":false,"audio":true}
JSComp: EmbedLiteWebrtcUI.js: got getUserMedia:request
JSComp: EmbedLiteWebrtcUI.js: Found videoinput device 'Droid front camera'
JSComp: EmbedLiteWebrtcUI.js: Found videoinput device 'Droid rear camera'
JSComp: EmbedLiteWebrtcUI.js: Subscribed to embedui:webrtcresponse
JSComp: EmbedLiteWebrtcUI.js: Submitting request {369075de-4409-4efe-b65e-87f0053fb2f6} {"id":"{369075de-44
09-4efe-b65e-87f0053fb2f6}","origin":"meet.jit.si","devices":{"camera":["Droid front camera","Droid rear ca
mera"]}}
JSComp: EmbedLiteWebrtcUI.js: onMessageReceived: top:embedui:webrtcresponse, msg:{"allow":true,"checkedDont
Ask":false,"choices":{"camera":0},"id":"{369075de-4409-4efe-b65e-87f0053fb2f6}"}
JSComp: EmbedLiteWebrtcUI.js: getUserMedia:response:allow for callID {369075de-4409-4efe-b65e-87f0053fb2f6}
JSComp: EmbedLiteWebrtcUI.js: Deleting request {369075de-4409-4efe-b65e-87f0053fb2f6}
JSComp: EmbedLiteWebrtcUI.js: Unsubscribed from embedui:webrtcresponse

Looks okay, maybe Camera 0 is wrong?

Can anyone confirm this is also in 4.5? Don’t have access to one of my 4.5 devices right now.

This test also fails with the browser:

https://mozilla.github.io/webrtc-landing/gum_test.html

Except for the video preview (which is blueish on my side too), does anyone have success to actually video encode the stream? I mean, seeing it on another device.
I have like 1s of stream then it locks up. It may be specific to my adaptation though.

Thanks for raising the bug and sorry for hijacking with a by-question.

Blue tint also happen with both cams on xz2 compact port

On the volla/GS290 with 4.4.0.72 and on volla22/GS5 4.5.0.16 using the browser there is NO tint. I tested with talky.io and meet.jit.si servers. Hmmm. Hardware compositor thing?

1 Like

Can confirm with a 10 III, using 4.5.0.18.

  1. Browser with jitsi = blue
  2. Browser with Google Meet = blue
  3. Vivaldi with Jitsi = not blue

1 Like

Just updated the GS5 to 4.5.0.18 and it’s also fine. So it’s lower level. EDIT: fine in the browser, that is.

Xperia 10 Dual-SIM: 4.5.0.18: NOT affected.

1 Like

Added to internal tracker

2 Likes