simpler and smarter test rtmp publisher