If encoder_factory_ is null, AssignPayloadTypesAndDefaultCodecs() returns an empty vector, MapCodecs takes the empty vector, asserts in debug builds, and returns a new empty vector in release builds, and then we call front() unconditionally, which is Undefined Behavior for an empty vector. This appears to cause a crash in fast/mediastream/RTCPeerConnection-addIceCandidate.html.
Thanks for reporting. WebRTC support for GTK port is still not complete, we are still pushing code upstream which would include enabling all the mediastream tests, we are currently working on it. We can leave this bug open to keep this issue in mind for the moment we have everything in place.
Usecase?