Ask / Submit
120

[Request] Support webRTC in native web browser

asked 2014-01-03 16:19:03 +0200

sjn gravatar image

updated 2018-02-15 13:09:24 +0200

r0kk3rz gravatar image

I checked for webRTC support on appear.in's webRTC checker, and it seems some features are NOT enabled in the Jolla native browser (as of 1.1.9.28):

  • getUserMedia()
  • RTCPeerConnection
  • ICE Connection

The following feature is enabled/supported:

  • HTML 5 Video element
  • VP8 Codec

The browser UserAgent header reports it is based on Gecko/31.0, which should be able to support webRTC fine. Maybe this feature just needs to be enabled/compiled in? With the tablet coming soon, having a working webRTC is especially useful, so I urge anyone with the skills to help make this happen!

[Updated for the SailfishOS 2.0 beta (1.1.9.28)]

edit retag flag offensive close delete

Comments

4

The appear.in people would like this feature too! :)

sjn ( 2014-01-03 16:45:18 +0200 )edit
3

They even blogged about it! Also, while I was there, I learned that the iPhone does not support these technologies yet.

I wouldn't mind seeing support for this in Jolla before the iPhone crowd! (hint, hint ;))

sjn ( 2014-01-04 17:05:53 +0200 )edit
1

seems like qtwebkit supports it, so basically all the unofficial browsers support it (why jolla just doesn't just use qtwebkit instead of maintaining this qt-wrapper for gecko is beyond me, though).

sandsmark ( 2014-12-27 23:22:08 +0200 )edit

5 Answers

Sort by » oldest newest most voted
12

answered 2018-02-15 11:18:53 +0200

r0kk3rz gravatar image

updated 2018-02-17 22:50:05 +0200

Good News Everyone!

WebRTC support has been added to GStreamer in latest upstream and will eventually come to Sailfish when they upgrade to GStreamer 1.14

But if anyone wants to play around I have the latest code here: https://build.merproject.org/project/show/home:r0kk3rz:branches:mer-core:devel

and if I can get this compiled... maybe it'll work - https://github.com/centricular/gstwebrtc-demos

EDIT: well after a bit more packaging and experimenting, I think it works! I get some output to the browser window on my laptop, and there's supposed to be a window on the device but maybe the example code is not wayland compliant.

I'll have to see if I can wrap it into an app and plug it into the selfie cam

edit flag offensive delete publish link more
11

answered 2014-12-01 20:54:36 +0200

ApB gravatar image

Firefox 34 was released today with Hell and that means that someone on a jolla cannot communicate without WebRTC.

In other words. We need this. ;)

edit flag offensive delete publish link more

Comments

Well that's hell of a release! :) BTW, I think wireless communication through hell was tried in Doom but turned out to not work so well in the end. :)

Now on a serious note, it would be really nice if only a Geco core update would be enough to make using the WebRTC stuff possible on the Jolla. :)

MartinK ( 2014-12-02 02:35:22 +0200 )edit
1

Has anyone tried to build the browser with webrtc enabled??

ApB ( 2014-12-02 12:18:37 +0200 )edit

Definitely! :-)

wosrediinanatour ( 2015-02-26 09:11:14 +0200 )edit
8

answered 2015-09-12 18:48:43 +0200

tworaz gravatar image

Contrary to what some of the people think adding support for WebRTC is not as easy as flipping one compile time switch. WebRTC feature in order to work needs to be able to access platform camera and microphone. Last time I've checked the default linux/desktop implementation of the necessary interfaces did not work on SailfishOS. We'll need custom implementations of those classes to properly support WebRTC on SailfishOS. Some UI work will also be necessary to show all the required permission notifications the feature might need.

Personally I'm in favor of supporting it, but I doubt we'll have the resources to do it in the near future. Right now much more important task is to migrate from gecko 31 to 38. 31 is no longer supported upstream and we don't want to ship an engine that has potential security vulnerabilities. Unfortunately the migration is not as easy as we'd like it to be. It's moving forward but it'll probably be a few weeks before the new version lands on :devel and a couple of weeks more before it's shipped to the users in a stable SFOS release.

edit flag offensive delete publish link more

Comments

7

A separate app or integration within the OS messenger would also be a really nice alternative if doing it with the default browser is problematic.

I was expecting someone from the community to see the potential of it and create a WebRTC communication app but the most prolific members of it waste their talent trying to circumvent the restrictions that this piece of shit whatsupp enforces. :/

ApB ( 2015-09-12 19:46:29 +0200 )edit
2

Now that we will be getting Gecko 38 in 2.0.4 . Will there be any future implementation on WebRTC?

pavi ( 2016-10-05 11:02:51 +0200 )edit
4

answered 2014-01-07 00:08:08 +0200

shmerl gravatar image

updated 2014-01-07 00:15:39 +0200

WebRTC should be potentially supported by the engine (since Gecko enabled it a while ago). Not sure why the browser isn't supporting all the APIs properly (may be it was built with WebRTC disabled? check out what's reported in about:buildconfig).

VPx however is missing because of the patent threats from Nokia (see https://datatracker.ietf.org/ipr/2035/). They are probably all false, but I doubt Jolla can change the situation without enabling a risk of patent attack. May be when the situation will clear up and Google will brush off Nokia's allegations this will get better. But I suspect we'll have to wait for Daala to arrive in the end of 2015 to get out of this mess.

edit flag offensive delete publish link more
4

answered 2014-12-26 21:20:31 +0200

pavi gravatar image

Good News : Vp8 is now supported and I am still using the old version ( 1.0.8.21)

But there still are some things which are needed for webRTC which can be included in the browser.

  • getUserMedia() - Web Camera Access
  • RTCPeerConnection - Peeer to Peer Connection
  • ICE Connection - Nat traversal
edit flag offensive delete publish link more

Comments

Are you saying that VP8 is now supported in Sailfish browser out of the box?

shmerl ( 2014-12-30 00:04:24 +0200 )edit

Not sure if it was by default or if it because I enabled one of the "openrepos" but this information was given by that website "appear dot in" .

pavi ( 2015-01-02 07:07:20 +0200 )edit

I can confirm that the Sailfish browser (at least as of 1.1.9.28) supports the VP8 codec!

sjn ( 2015-09-12 02:45:10 +0200 )edit
Login/Signup to Answer

Question tools

Follow
18 followers

Stats

Asked: 2014-01-03 16:19:03 +0200

Seen: 1,969 times

Last updated: Feb 17 '18