RTSP parser written in C