fixed onLocalVideo to be onLocalMedia