illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.91k stars 1.51k forks source link

add feature to remux signed rtmp stream #486

Open D4rkTT opened 2 years ago

D4rkTT commented 2 years ago

Bug: if main stream (RTMP) protected by signed key and user validating the sign argument on "prePlay" event then user won't able to remux because remux don't pass config args to trans session Fix: pass sign argument if available so user able to remux signed rtmp stream

mattcwebster commented 2 years ago

Please look into this one @illuspas I've noticed too that the fission streams don't have the session.publishPlayArgs with the sign argument so there's no way to auth fission paths.

D4rkTT commented 2 years ago

@mattcwebster this for trans muxer its different for fission i will edit it too to fix it