deepstream encoding to h.264 with encryption


I have camera stream -> deepstream–> encode to H.264 --> rtsp . is there a way we can encrypt h.264 content before sending out to remote ?


That’t the way deestream-app doing, you can check this code:
sources/apps/apps-common/src/deepstream_sink_bin.c: create_udpsink_bin

and you also can refer to
for different sink type.