My hardware is PC I5 8600k 32 GB RAM and the system works really great and super fast my connection with LAN
I have a Reolink camera with a two-way audio connection via LAN
When I send a command via Restful it takes between 1.5-3 sec
Maybe you guys are familiar with another fast method?
*** The PC running all the systems
rest_command:
X_request:
url: http://192.168.1.187:5000/live/webrtc/api/streams?dst=Doorbell&src=ffmpeg%3Ahttps%3A%2F%2F192.168.1.187%3A8123%2Flocal%2FWelcome_X.mp3%23audio%3Dpcma%23input%3Dfile
method: POST
The bottleneck is likely the camera, which has it’s own processor, memory and operating system and web server to answer and process your request to contend with. It is doing all the heavy lifting and it’s not a powerful device, only powerful enough to do its job and, being that it’s Reolink, probably a little light on that too (there’s a reason they are so inexpensive for a decent camera).