WangJianjun

Results 34 comments of WangJianjun

我这几天研究了一下gb28181,因项目需要,要接收大华的摄像头,但是公司穷,又不给配大华的摄像头,无奈,在网上找了一些开源的模拟摄像头的代码。经过这几天的调试发现,点播失败、收流超时等问题有一下原因: 1 wvp对应zlm的id不一致 2 wvp要设置当前主机的ip,不能设置为127.0.0.1 3 wvp的前端,可以切换一下udp/tcp推流 4 摄像头的ssrc值要对应wvp的ssrc值 5 摄像头推流ip和端口,要和zlm对应 当然,还存在一些其他的原因,我还没有遇到...... ----------------------------------------------------------------------------------------------------------------------------------- zlm启动界面: ![1](https://user-images.githubusercontent.com/20681339/192753163-0c3edb4c-6755-4dd1-abd9-98adef88bebc.png) wvp启动界面: ![2](https://user-images.githubusercontent.com/20681339/192753251-0fbcef21-bc65-40ba-b947-02cb9c9adebc.png) 摄像头模拟器界面: ![3](https://user-images.githubusercontent.com/20681339/192753328-baeb3e36-49c0-4a41-8f1d-1222191a10b2.png) 前端播放界面: ![4](https://user-images.githubusercontent.com/20681339/192753573-f7f0cbc4-04f6-49ed-a495-bb17ee0fb217.png) vlc播放界面: ![5](https://user-images.githubusercontent.com/20681339/192753657-6ab8a9d6-74e3-4d35-a261-55eb801e24fb.png)

This idea is very good. I hope the author can complete this function.

When I run the program after compiling the code, there will be a crash. ![动画1](https://user-images.githubusercontent.com/20681339/142891592-136e244c-cacc-46f1-aca9-aad135c00303.gif)

The nvidia driver version is 389.04 ![微信截图_20211122235214](https://user-images.githubusercontent.com/20681339/142892898-498ffcf3-264b-4bf1-8b44-b04f28f593d3.png) .

在手机上,传视频,如果视频文件大一点,就无法传了

![捕获](https://user-images.githubusercontent.com/20681339/110607263-fd1cde00-81c5-11eb-9561-a595fcf61194.PNG)

> 来我的项目卷吧 https://github.com/q191201771/lal 你这个比较屌,要是支持webrtc就好了

只要前端调用getDisplayMedia函数,就会报错NotAllowedError,如下图所示 ![1](https://user-images.githubusercontent.com/20681339/212290529-5a008306-927c-49c1-94bf-55e7fe5e8a37.PNG) ![2](https://user-images.githubusercontent.com/20681339/212290564-38bd21a3-701d-4310-bd6a-a84894281af1.png)

但是不夸平台