nginx-rtmp-module
nginx-rtmp-module copied to clipboard
rtmp encrypt with AES
hello , is anybody know how to encrypt rtmp stream with AES, like this.
- open a rtmp application "live".
- push a video with ffmpeg etc...
- nginx-rtmp will receive the stream.
- nginx-rtmp will encrypt the stream data (Nalu type(0x41)) and adjust the frame size.
- set push path, nginx-rtmp will push the new stream to next server.
but i can not find any descript about the encrypt method. please provide any suggest if you know about this. Thanks.
you can use the exec directive to execute a script to encrypt the stream and the forward the encrypted version from the same script to the next server using FFMPEG.