added correct convert of rtmp streams