We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.Start the program on the server with the following command:
.\webrtc-streamer.exe -o -H 0.0.0.0:8098
2.The vue code is as follows:
const webRtcServer = ref() onMounted(() => { webRtcServer.value = new window.WebRtcStreamer(video.value, `${location.protocol}//${ import.meta.env.VITE_APP_SERVER_IP }:8098`) webRtcServer.value.connect(rtspUrl) loading.value = false }) onBeforeUnmount(() => { webRtcServer.value.disconnect() webRtcServer.value = null })
3.Other users in the LAN visit the website, and the video cannot be played. The log information is as follows:
D:\webrpc-server>.\webrtc-streamer.exe -o -H 0.0.0.0:8098 Version:v0.8.5-dirty/Windows-AMD64 civetweb@v1.16 webrtc@11f87b2 live555helper@0d9c383 nullLogger level:4 HTTP Listen at 0.0.0.0:8098 Requested URL : rtsp://admin:hk123456@192.168.43.72:554/h264/ch1/main/av_stream Start playing sink for "video/H264" subsession Requested URL : rtsp://admin:hk123456@192.168.43.72:554/h264/ch1/main/av_stream Requested URL : rtsp://admin:hk123456@192.168.43.67:554/h264/ch1/main/av_stream Start playing sink for "video/H264" subsession Requested URL : rtsp://admin:hk123456@192.168.43.67:554/h264/ch1/main/av_stream Requested URL : rtsp://admin:hk123456@192.168.43.37:554/h264/ch1/main/av_stream Start playing sink for "video/H265" subsession Requested URL : rtsp://admin:hk123456@192.168.43.37:554/h264/ch1/main/av_stream Requested URL : rtsp://admin:hk123456@192.168.43.42:554/h264/ch1/main/av_stream Start playing sink for "video/H264" subsession Requested URL : rtsp://admin:hk123456@192.168.43.42:554/h264/ch1/main/av_stream Close session: video/H264 Close session: video/H264 Close session: video/H265 Close session: video/H264
The text was updated successfully, but these errors were encountered:
Hi @fallen-leaves-FE
In order to separate problems, you could use the embeded webrtc-streamer html pages. Increasing the loglevel may also helps you.
Best Regards, Michel.
Sorry, something went wrong.
No branches or pull requests
1.Start the program on the server with the following command:
.\webrtc-streamer.exe -o -H 0.0.0.0:8098
2.The vue code is as follows:
3.Other users in the LAN visit the website, and the video cannot be played. The log information is as follows:
The text was updated successfully, but these errors were encountered: