Derive media from remoteDescription.sdp to avoid dropped calls on answer in Firefox

This bug was introduced by the hold branch.

See commit message for a detailed elaboration of the change and fix.