-
Notifications
You must be signed in to change notification settings - Fork 182
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
RtspCameraExample issue when client is Hikvision NVR #84
Comments
I do not have access to this kind of material. no way for me to test. |
This is possibly related to #127. @carpediem-av, can you please use Wireshark to capture the conversation between Hikvision and RtspCameraExample, and attach it here. Please filter only the RTSP packets, similar to my example in #127. |
Yes, sure. 192.168.10.107 is PC. |
I have add the sending of RTCP RR message in the example, it may help. Can you test ? If it is not working, can you make a capture with a working client (VLC for exemple). |
We were talking about RtspCameraExample. Looks like you made the changes in the wrong place (RtspClientExample) |
Sorry, I was totally wrong. I don't know why I was thinking you were using the program as client. As server, the RR can't be the problem. In the capture, it seems that the NVR is connecting two time to the server. Maybe the NVR is not recognizing the stream (it is a special not compressed h264 stream) and it retry. (for simulating camera you can also use the RSTP server happytime, it work well to stream a jpg or a video) |
No, it doesn't work via UDP either. VLC works great. I tried to encode the image through the libx264 library (integrated into the code), also to no avail (which means it’s not the encoder). |
The RtspCameraExample works fine with VLC, but the Hikvision NVR with the server link added does not play the stream. The console shows that packets are sent, and then the connection is terminated, and so on in a loop. I wanted to use this program to display a static image on the DVR as if it were a real camera.
The text was updated successfully, but these errors were encountered: