Library change from pyglet to pymedia