Kurento / bugtracker

[ARCHIVED] Contents migrated to monorepo: https://github.com/Kurento/kurento
46 stars 10 forks source link

WebRtcPeer.js:230 TypeError #645

Open liushunshun opened 1 year ago

liushunshun commented 1 year ago

Prerequisites

These are MANDATORY, otherwise the issue will be automatically closed.

Issue description

I use kurento-utils with vue3 and typescript find a WebRtcPeer.js exception .

Context

I use kurento-utils with vue3 and typescript find this exception .

image

code line

image

debug

image

packege.json dependency

    "@types/kurento-utils": "^6.7.1",
    "core-js": "^3.8.3",
    "element-plus": "^2.2.36",
    "kurento-utils": "^6.18.0",
    "vue": "^3.2.13",
    "vuex": "^4.0.2",
    "webrtc-adapter": "^8.1.1"

How to reproduce?

Expected & current behavior

(Optional) Possible solution

Info about your environment

About Kurento Media Server

About your Application Server

About end-user clients

Run these commands

cat /etc/lsb-release
kurento-media-server --version
dpkg -l | grep -Pi 'kurento|kms-|gst.*1.5|nice'
liushunshun commented 1 year ago

The program runs normally after I replace vite with vue-cli .