VUE+webrtc-streamer报错

VUE+webrtc-streamer实现实时视频播放(监控设备-rtsp)

我本地报

[plugin:vite:eslint] D:\ideaProject\iot-hfycsa\renren-ui\src\views\iot\home\hikvideo.vue
10:9 warning Replace 'index1' with "index1" prettier/prettier
14:6 warning Insert ; prettier/prettier
** 19:29 error 'WebRtcStreamer' is not defined no-undef
** 19:44 warning Replace 'video',·location.protocol·+·'//127.0.0.1:8000') with "video",·location.protocol·+·"//127.0.0.1:8000"); prettier/prettier
21:31 warning Replace 'rtsp://admin:hik12345@192.168.2.225:554/h264/ch1/main/av_stream') with "rtsp://admin:hik12345@192.168.2.225:554/h264/ch1/main/av_stream"); prettier/prettier
26:35 warning Insert ; prettier/prettier
27:29 warning Insert ; prettier/prettier
31:33 warning Replace 'rtsp://admin:hik12345@192.168.2.225:554/h264/ch1/main/av_stream') with "rtsp://admin:hik12345@192.168.2.225:554/h264/ch1/main/av_stream"); prettier/prettier
34:2 warning Insert ; prettier/prettier

✖ 9 problems (1 error, 8 warnings)
0 errors and 8 warnings potentially fixable with the --fix option.

报错信息很明显:error 'WebRtcStreamer' is not defined no-undef,可以看下是不是少引入文件了或者引错了
我文章里面第4步引入的webrtcstreamer.js文件里定义了WebRtcStreamer
4、将下载包html文件夹下webrtcstreamer.js文件和html/libs文件夹下adapter.min.js文件复制到VUE项目public目录下。在index.html文件里引入这两个js文件