nginx-rtmp-module
nginx-rtmp-module copied to clipboard
onCuePoint / what next
So I patched ngx_live_module.c and I correctly decode the scte35 event sent from my Elemental Live server. Great. But I m missing what to do next. I have to pass the information to Dash registered module. But by what way ? Am I missing the big picture of the module in fact.
Should I pass the info to ngx_rtmp_publish functions/handlers ? any help from persons who know well the module will be appreciated.
(the first goal is to insert the scte event in the dash manifest).
Do you have a branch we can look at that has this event implemented? I believe DASH has a hook that gets called on every packet but I'll have to double check exactly how this works
Sent from my iPhone
On 2/04/2017, at 10:16 PM, Raphael Mazelier <[email protected]mailto:[email protected]> wrote:
So I patched ngx_live_module.c and I correctly decode the scte35 event sent from my Elemental Live server. Great. But I m missing what to do next. I have to pass the information to Dash registered module. But by what way ? Am I missing the big picture of the module in fact.
Should I pass the info to ngx_rtmp_publish functions/handlers ? any help from persons who know well the module will be appreciated.
(the first goal is to insert the scte event in the dash manifest).
diff_live.txthttps://github.com/sergey-dryabzhinsky/nginx-rtmp-module/files/888298/diff_live.txt
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/229, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACsxEaWkZOpgWvZlvX6IBHTSS-PK12s4ks5rr3VogaJpZM4Mwwkf.
Sure you can look at https://github.com/ut0mt8/nginx-rtmp-module/blob/dev/ngx_rtmp_live_module.c on the onCuePoint function. I suppose that the hook is
next_publish = ngx_rtmp_publish; ngx_rtmp_publish = ngx_rtmp_dash_publish;
but this doesn't seems very pratical to pass metadata on it.
My branch is now working and correclty scte35 event (from elemental) to dash 👍