cleanup
ARD: cleanup part2, added support for rtmpdump