extract rtmp for rtmpserver or rtmpclient sdk