use object variable in place of global
Merge pull request #8 from fippo/master

minor changes
Merge pull request #9 from sualko/master

use object variable in place of global
get audio and video by default