In example 11, several RTCDtlsTransport instances are created without passing certificates. So, is the certificates parameter in the constructor of RTCDtlsTransport optional or is the example simply incorrect?
The certificates parameter is not optional, so Example 11 is incorrect.
Note that respec does not appear to be rendering sequence < RTCCertificate > certificates in the RTCDtlsTransport constructor. This does appear legal in WebIDL, so it looks like a respec issue rather than a spec problem.
Thanks for the clarification.
The problem with Example 11 was fixed by PR 341.