p2p-media-loader icon indicating copy to clipboard operation
p2p-media-loader copied to clipboard

WebRTC setRemoteDescription Deprecated

Open mrcolak opened this issue 6 years ago • 2 comments

Hello,

There is a deprecated (possibly removed) function on the core. When that function called, player fails and throw error. I don't know when and why that function needed to be called but I know that it is not working for sure.

https://cdn.jsdelivr.net/npm/p2p-media-loader-core@latest/build/p2p-media-loader-core.js Line: 8573

https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/setRemoteDescription#Deprecated_syntax

image

Regards.

mrcolak avatar Nov 10 '19 18:11 mrcolak

The function is not deprecated. The issue is that it is called on undefined value. Do you know a way to reproduce the issue?

mrlika avatar Nov 10 '19 22:11 mrlika

The bug is most likely in simple-peer or bittorent-tracker NPM modules. If I can reproduce it I will create a bug report.

mrlika avatar Nov 11 '19 15:11 mrlika