fix minor bugs
reformat RTMediaMedia.php file