onaddstream is deprecated

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

tincup

onaddstream is deprecated

Unread post by tincup » 2019-01-05, 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

tincup

Re: onaddstream is deprecated

Unread post by tincup » 2019-01-08, 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
Board Warrior
Board Warrior
Posts: 1325
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: onaddstream is deprecated

Unread post by Isengrim » 2019-01-08, 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).
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: onaddstream is deprecated

Unread post by Moonchild » 2019-01-08, 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.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

tincup

Re: onaddstream is deprecated

Unread post by tincup » 2019-01-10, 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.

Locked