Media sampling endpoint bug fix.