re-stream with ffmpeg

Job ID: 36005793

Budget: ₹12,500 – ₹37,500 INR

We need C programmer, familiar with ffmpeg.
First task is:
ffmpeg receive HLS/DASH(.m3u8/.mpd)stream as input and produce RTMP stream as output. In case of issues with output connection, it must be re-established without dropping input connection and ffmpeg must continue working without interruption of input connection.