Skip to content

Commit 362cfe7

Browse files
committed
[dev] added app info for auto push.
1 parent ec1bda5 commit 362cfe7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ngx_rtmp_auto_push_module.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
/*
33
* Copyright (C) Roman Arutyunyan
4+
* Copyright (C) Winshining
45
*/
56

67

@@ -486,6 +487,11 @@ ngx_rtmp_auto_push_reconnect(ngx_event_t *ev)
486487
ngx_str_set(&at.page_url, "nginx-auto-push");
487488
at.tag = &ngx_rtmp_auto_push_module;
488489

490+
if (s->app.len) {
491+
at.app.data = s->app.data;
492+
at.app.len = s->app.len;
493+
}
494+
489495
if (ctx->args[0]) {
490496
at.play_path.data = play_path;
491497
at.play_path.len = ngx_snprintf(play_path, sizeof(play_path),

0 commit comments

Comments
 (0)