Can't play
After compiling and running on the server, the web browser prompts:
ReferenceError: VideoDecoder is not defined
at VideoProcessor._createVideoDecoder (videoprocessor.js:95:9)
at VideoProcessor._onH26xFrame (videoprocessor.js:50:33)
at VideoProcessor.onVideoFrame (videoprocessor.js:29:25)
at MediaStream.onMessage (mediastream.js:29:47)
at ws.onmessage (mediastream.js:54:47)
It should support webcodec, because it is possible to play directly on github.io
The same problem occurs when running with the release version. Command: ./rtsp2ws -C ../share/rtsp2ws/config.json -p ../share/rtsp2ws/www
关闭于 2025-01-13 1 条评论