deepstream encoding to h.264 with encryption

Hi,

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 ?

Thanks

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 https://docs.nvidia.com/metropolis/deepstream/plugin-manual/index.html#page/DeepStream_Plugin_Manual%2Fdeepstream_plugin_details.02.15.html%23wwconnect_header
for different sink type.