onaddstream is deprecated

Board for discussions around the Basilisk web browser.

Moderator: satrow

User avatar
tincup
Moongazer
Moongazer
Posts: 13
Joined: Wed, 02 Jan 2019, 19:55

onaddstream is deprecated

Unread postby tincup » Sat, 05 Jan 2019, 22:30

I am having issues with gmail + hangouts when it comes to making and receiving calls. I turned on console log and found this error:

Code: Select all

onaddstream is deprecated! Use peerConnection.ontrack instead. 1 m=inmolecalling:934


I am currently looking into whether or not I can circumvent this somehow, or if it would require something more from the dev team.
Any input is appreciated!

Thanks

User avatar
tincup
Moongazer
Moongazer
Posts: 13
Joined: Wed, 02 Jan 2019, 19:55

Re: onaddstream is deprecated

Unread postby tincup » Tue, 08 Jan 2019, 00:19

As I look into this more, I see the error is due to these websites using outdated WebRTC calls in their javascript files.
This does not explain why FireFox does not report the error, or why the services continue to work on the latest FF.

My only guesses are FF uses an older WebRTC, or they have written something to handle the errors?

User avatar
Isengrim
Astronaut
Astronaut
Posts: 662
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: onaddstream is deprecated

Unread postby Isengrim » Tue, 08 Jan 2019, 04:08

I suspect it's the other way around - WebRTC is not a primary focus for the Pale Moon developers and the current implementation is likely much older than the one used by Firefox. Firefox's version may be handling these issues more gracefully (or swallowing them).
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit) (Sometimes)
Windows 10 build 1803 (64-bit) (Sometimes)
We are our choices.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23042
Joined: Sun, 28 Aug 2011, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: onaddstream is deprecated

Unread postby Moonchild » Tue, 08 Jan 2019, 08:08

They may have undeprecated it, or (more likely) are actually using a Google module now to handle WebRTC.
Or it's possible that Hangouts uses more up to date code for Firefox (that they should also use for us) because of UA sniffing.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
tincup
Moongazer
Moongazer
Posts: 13
Joined: Wed, 02 Jan 2019, 19:55

Re: onaddstream is deprecated

Unread postby tincup » Thu, 10 Jan 2019, 16:01

Thanks for the more knowledgeable replies. While I'd love to see WebRTC resolved at some point (if that is the case and it is not a googlized module now), even with this error, I've been happy to use Basilisk as my primary browser. Thanks for the hard work.

It's been great using plugins that can actually do something interesting again.


Return to “Basilisk”

Who is online

Users browsing this forum: No registered users and 1 guest