implement maxfps for videofeed