Two part project:
1. debug an existing HTTP/MPEG proxy application (memory corruption occurs on certain conditions)
2. implement a feature: buffer the incoming live stream and always stream output MPEG from a key frame/gop for instant playback on the receiving end (STB)
You will get a code based on the attached program.
it's already modified to proxy from http to http (instead of unicast/multicast UDP to http)
ad 1. the proxy segfault sometimes. Your goal will be to find memory corruptions (hint: valgrind reports) and fix them. Should be simple for experienced C developer familiar with valgrind, i can send initial valgrind memory reports on demand.
ad. 2 This requires knowledge of MPEG TS format. The proxy should buffer some amount of incoming live stream in memory (ring buffer) and serve clients with data always starting from key frame (or I-frame or GOP, i can't tell). This is something that is done for example by [url removed, login to view] module for serving static files. Your job will be to implement it for live streams. The streams are DVB compilant and come from sattelites.
Please post bids for complete project, but I will like to see also estimates for both "milestones" described above.