Wowza Community

how to disconnect a stream which is connect without stream file, Example appName:xxxx or streamName:2263. I am stuck in issue please help as soon as possible.

here is not any disconnect option in Action field.
if i am using :

curl -X PUT --header ‘Accept:application/json; charset=utf-8’ --header ‘Content-Type:application/json; charset=utf-8’ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/xxxx/instances/definst/incomingstreams/2263/actions/disconnectStream

command Not working.

Showing this type of message

{“message”:“The server has not found anything matching the request URI”,“code”:“404”,“wowzaServer”:“4.7.1”,“success”:false}

The disconnectStream action endpoint that you are using is not suitable for these types of streams. The disconnectStream is only used for streams that are connected using the MediaCaster stream file, where the server is the one that initiated the connection. In the streams you have, these look to be initiated by the encoder (push type of publish). For example, Wirecast and OBS are push-type encoders.

If you need to remove these streams, you will need to reject them using custom security methods, such as blocking by IP address or blocking according to bandwidth usage.