Skip to content
New issue

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

提示连接成功但是没有画面 #8

Open
m18646461005 opened this issue Jun 9, 2023 · 1 comment
Open

提示连接成功但是没有画面 #8

m18646461005 opened this issue Jun 9, 2023 · 1 comment

Comments

@m18646461005
Copy link

环境:linux
ffmpeg: 6.0
使用的海康摄像头rtsp协议视频流
日志打印:
---[info]: current rtsp2web version: 3.1.4; current platform is linux---
[ffmpeg]创建一个新的视频流转码进程~
一个新的视频播放窗口(client,ws句柄)连接成功

前端代码片段:
`

<title>JSMpeg Stream Client</title> <style type="text/css"> html, body { background-color: #111; text-align: center; }
#video-canvas {
  width: 500px;
  height: 300px;
}
</style> <script type="text/javascript" src="jsmpeg.min.js"></script> <script type="text/javascript"> var canvas = document.getElementById('video-canvas'); var ur = 'rtsp://admin:pwd@****:554/streaming/channels/101'; var url = 'ws://localhost:9999/rtsp?url=' + btoa(ur) var player = new JSMpeg.Player(url, { canvas: canvas }); </script> `
@Neveryu
Copy link
Owner

Neveryu commented Jun 19, 2023

有在windows上运行rtsp2web吗?能否运行成功呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants