Avoiding duplicate and allowing unset of codec parameter

Avoiding duplicate and allowing unset of codec parameter.

This allows unsetting Opus FEC or other codec parameter. This also avoids duplication.
move this down, to just above the |findLine| function