How can I push the video stream to my custom RTMP server

my jitsi-meet version is 2.0.5162

Not sure if that version supports custom RTMP out-of-the-box, but if it does, just enter your RTMP url in the text box followed by a forward slash (/) and then your stream key.