iamscottxu / obs-rtspserver

RTSP server plugin for obs-studio
https://obsproject.com/forum/resources/obs-rtspserver.1037/
GNU General Public License v2.0
463 stars 53 forks source link

some errors 500 in the beginning #82

Open Barabba11 opened 3 years ago

Barabba11 commented 3 years ago

Hi, I would report you this that may be meaning a bug, I discovered it with rtsp simple server that outputs the status of connection, the first 2 attempts returns always error 500. This is not happens if the reconnection incomes in a short time, but if inactive for a while it happens again. I've tried also to disable nvenc, but it doesn't change. This probably happens also connecting directly to your plugin with VLC (you remember the errors I posted about sniffer) but it attemps automatically some time (maybe short) and it is able to show stream, without we notice that.

I'm trying to save power and resources of the system, for this reason I'm using the rtsp small server on request (by deafault it connect to your plugin and pretend stream, even if it doesn't have any client asking for it, it keeps stream on), and when a client connect to it it tries to connect to plugin, getting 500, then again.. this amout of time drive the client in timeout and the process fails. May you kindly try that too? Thanks

Barabba11 commented 3 years ago

reems the server results unavaiable for the first 6 seconds, maybe you expecting some buffer from encoding in OBS and by this time you return 500, is it possible to short this time and reduce buffer? Thank you