Allow control of video codec from URL params

@andresusanopinto @jiayliu PTAL
fix comment. (same below).