deprecated and move method to get media duration
change method name