Simply run it and provide it the RTSP stream URL as a parameter. Depending on your network speed and the camera you're trying to shutdown, it might work sooner or later, or might not work.
Here is how to install camerattack on your machine.
Make sure you installed the dependencies, and that you have Go modules enabled (
export GO111MODULE=on(unless it's already on or you are using go >
go get github.com/ullaakut/camerattack
camerattack binary is now in your
$GOPATH/bin ready to be used.
It simply does lots of requests really quickly on the device, hoping that it will crash because of a memory leak or some mistakes in its firmware's code.