Page 1 of 1

error: buffer deadlock prevented

Posted: 26 May 2020 13:28
by qussungtn
Dear all,

I am trying to view RTSP streaming with UDP.
In the local network, I could view streaming without any issue.

Currently, I set up openVPN for the project.
I can see the RTSP udp packets coming from IP camera.
But now I am getting "error: buffer deadlock prevented" and can not see the streaming in vlc.

what is the meaning of "buffer deadlock prevented" erorr?

best regards
Seongsu

Re: error: buffer deadlock prevented

Posted: 26 May 2020 19:29
by Rémi Denis-Courmont
It means the decoder wants more data in before it can give data out, but at the same time, the flow control wants the decoder to output something before it allows more data in. To break the deadlock, VLC will turn then off flow control and allow data in.

Re: error: buffer deadlock prevented

Posted: 27 May 2020 10:14
by qussungtn
Dear Rémi Denis-Courmont

Thank you for your reply.
I set up this IP camera in my home network.
And I can see the UDP packets coming from IP camera from client side.

do you think the problem is poor bandwidth of my home network?
you mentioned that this error occurs when decoder wants more data.
As I mentioned before, I could view RTSP streaming over TCP.

Why this error does not occur in TCP connection?
I need your advice.

best regards
Seongsu