-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate from NGINX-RTMP, support exec #367
Comments
This wiki discusses the handling of the exec signal SIGTERM.
|
This mentions executing "exec_record_done" when the DVR ends, adding metadata to the FLV file.
|
exec is mainly introduced in this wiki: https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec '
|
https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec_push exec_push command arg* Specifies external command with arguments to be executed on every stream published. When publishing stops the process is terminated. NGINX-RTMP is a program that is executed during streaming and sends a quit signal to the program when the streaming ends. The available variables include: $name - stream name
|
https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec_pull exec_pull command arg* Specifies external command with arguments to be executed on play event. The command is executed when first client connects to the stream and is killed when the last one disconnects. This directive makes it possible to pull remote stream in any format for local clients. When the first client starts playing, the process is initiated. The program ends when the last client exits.
|
https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec_static
|
https://github.com/arut/nginx-rtmp-module/wiki/Directives#respawn
|
https://github.com/arut/nginx-rtmp-module/wiki/Directives#exec_record_done recorder - recorder name
|
It seems that these exec commands only need to support two options:
|
https://github.com/arut/nginx-rtmp-module/wiki/Directives#on_record_done
|
I haven't decided whether to support exec yet, so let's put this feature on hold.
|
This feature indeed compromises the integrity of SRS. There is no need to support a broad feature when HTTP callback can completely replace it and is more flexible. Let's postpone this to SRS4.
|
Still, let's stick with SRS3.
|
|
Has the 'exec' function been added?
|
https://github.com/winlinvip/simple-rtmp-server/issues/367
The text was updated successfully, but these errors were encountered: