nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

rtmp encrypt with AES

Open djdjdjek opened this issue 3 years ago • 1 comments

hello , is anybody know how to encrypt rtmp stream with AES, like this.

  1. open a rtmp application "live".
  2. push a video with ffmpeg etc...
  3. nginx-rtmp will receive the stream.
  4. nginx-rtmp will encrypt the stream data (Nalu type(0x41)) and adjust the frame size.
  5. 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.

djdjdjek avatar Apr 03 '22 05:04 djdjdjek

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.

moerradi avatar Apr 28 '22 09:04 moerradi