change media mode from string constant interface to using an enum called OpenTok\MediaMode