arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.36k stars 3.51k forks source link

Not getting NetStream.Unpublish.Success #703

Open vovka opened 8 years ago

vovka commented 8 years ago

Hi all,

I faced this issue not so long time ago and still can't solve it. I need to get NetStream.Unpublish.Success status on record finish but server doesn't send it.

However I found in source code that this status should be sent when publishing in on: https://github.com/arut/nginx-rtmp-module/blob/master/ngx_rtmp_live_module.c#L609

Seems it is a kind of config issue. Which directive enables sending NetStream.Unpublish.Success on record finish?

My config is

    application vods3 {
      #live on;
      allow publish all;
      publish_notify on;
      record all;
      #record_append off;
      record_notify on;
      record_path /home/vovka/video/je/;
    }
sergey-dryabzhinsky commented 8 years ago

You can't publish into not live application I think. Try to enable live on;.