WVP+ZLMediaKit+MediaServerUI realizes camera GB28181 streaming playback and recording---experience avoids small partners who are new to video from stepping on the pit

This article describes some of my deployment problems based on the open source WVP ZLMEDIAKIT.
The following link is very important:
https://notemi.cn/wvp—zlmedia-kit—mediaserverui-to-realize-streaming-playback-and-recording -of-camera-gb28181.html
(Teach you the basic process of deployment step by step_ After reading this article, please complete the above connection operations, the problems encountered may be coupled)

One: playback problem


Note: I deployed according to the article, but the ws:// video link keeps reporting 501 or 404. So far, I have not found the reason why ws cannot be played, and the flv format cannot be played.
If way

The following is the log of zlMediakit after the push stream is successful. After testing, hls, rtsp and rtmp can all be played.
insert image description here
If the UI still cannot play after the push stream is successful, please try to use other players. If the push stream is unsuccessful, confirm the address configuration of the camera’s sip server Whether it is correct, whether the port is open, and whether the ip between them can ping each other.
For example: hls playback: Please modify the UI code and it should be able to play
insert image description here

insert image description here

Two: Public network deployment issues


The public network deployment does not push the ui device list and other problems:
I encountered wvp configuration yml file si server set to its own public network ip startup error, so change the ip to 0.0.0.0 (meaning to bind the port of sip5060 Set it on all ip of the server) In this way, the startup is successful.
After the startup is successful, there will be no streaming problem.
The streaming problem is when the camera is set to UDP/TCP. Please set TCP for the public network. Generally, I also give priority to TCP. UDP will report an error null pointer when WVP obtains the streaming protocol, so please set it to TCP
insert image description here

insert image description here

Reference document https://notemi.cn/wvp—zlmedia-kit—mediaserverui-to-realize-streaming-playback-and-recording-of-camera-gb28181.html
Thanks to wvp zlmediakit MediaServerUI open source sharing spirit

Guess you like

Origin blog.csdn.net/weixin_41675375/article/details/126656464