I am connecting to Janus VideoRoom using UV4l/WebRTC Janus Gateway Server HTTP requests.
To start the stream , I use the following HTTP request from WebRTC to Janus
Th STOP request to the Janus server
curl -s ‘http://raspberrypi:8080/janus?action=Stop’ > /dev/null
What I notice is that starting the server is quick and can take < 2seconds, while Stopping the Stream can take between 5 seconds and 40 seconds. Is this normal behaviour or can the STOP request be sped up.