Hi,
The shutdownstream path is fine. However, I believe you don’t close the right stream. Look at the type of it. The Type of the stream has the following structure:
{I|O}{F|N}{<other letters>
I – input
O – output
F – file
N – network
Example:
INR – Input Network RTMP
ONR4R – Output Network RTMP for RTMP
So, make sure you close an OF kind of stream
Now, there is also the listconfig/removeconfig approach. Give that a try as well
Best regards,
Andrei