Ames cloud a framework of adaptive mobile video streaming and efficient social video sharing in the clouds