added rtmpdump functionality