onaddstream is deprecated

Board for discussions around the Basilisk web browser.

Moderator: satrow

User avatar
tincup
Moongazer
Moongazer
Posts: 13
Joined: 2019-01-02, 19:55

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

User avatar
tincup
Moongazer
Moongazer
Posts: 13
Joined: 2019-01-02, 19:55

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
Keeps coming back
Keeps coming back
Posts: 997
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).
Linux Mint 19.2 Cinnamon (64-bit), Windows 7 (64-bit), Windows 10 build 1803 (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: 24875
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
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.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
tincup
Moongazer
Moongazer
Posts: 13
Joined: 2019-01-02, 19:55

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