The function converts the cricket::Codec, cricket::RtpHeaderExtensions and cricket::StreamParamsVec to webrtc::RtpParameters. BUG=webrtc:7311 Review-Url: https://codereview.webrtc.org/2735853004 Cr-Commit-Position: refs/heads/master@{#17124}