fixing bugs for chrome mediastream