nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

Control module drop publisher resets all publishers

Open xslightz opened this issue 8 years ago • 2 comments

I was looking thru the directive, decided to try the control module that way I won't have to restart Nginx in case one of my streams did not quit properly, and I can't connect again.

I tried doing this command curl http://localhost:8080/control/drop/publisher?app=myapp&name=mystream

However, when I used it, it reset all my streams they stopped. Isn't this supposed to only disconnect the stream I set in the URL? What am I doing wrong?

xslightz avatar Mar 19 '17 16:03 xslightz

Same issue here. Similar to nginx-s reload drops all publishers. Have you found any fix ?

slavah avatar Aug 18 '17 21:08 slavah

Ran into this today.

Removing the app identifier from the request and only specifying the stream name drops only the specified publisher for me and keeps other streams active. E.g.:

Replace:

curl http://localhost:8080/control/drop/publisher?app=myapp&name=mystream With:

curl http://localhost:8080/control/drop/publisher?name=mystream

evangraan avatar Jul 22 '22 22:07 evangraan