Library or solution for nvenc -> rtmp stream

So we have an internal application which takes our DX12 buffers and uses nvenc to encode them to h264 video streams which we later dump to disk.
I’m looking for a solution which will allow us to reuse this stream to feed to a rtmp server.
Are there any libraries which already do this or can anyone point me to something which can do this?
This seems to be possible by feeding it into ffmpeg, but as this is a high performance app, we would like avoid having to copy the data out into CPU memory and feed it directly from the GPU.