adding support for rtmp publishing protection