Adding variant of single.c that publishes to an rtmp sink