sdpFmtLine should be missing from RTCRtpCodecCapability instead of being an empty string
This makes https://webrtc.github.io/samples/src/content/peerconnection/change-codecs/ failing
Created attachment 411561 [details]
Committed r268592: <https://trac.webkit.org/changeset/268592>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 411561 [details].
Comment on attachment 411561 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=411561&action=review
> + sdpFmtpLine = sdpFmtpLineBuilder.toString();
In future, for cases like this I think we might want to add a nullIfEmpty function that takes a String&& and returns a String. Seems a shame to add a local variable just for this transformation. Although that "llIf" sequence makes the function name ugly.