Re: [webrtc-pc] Missing definition for obtaining list of all RTCIceTransport and RTCDtlsTransport

> As Taylor noted, there is an existing issue relating to when the Ice and DTLS transports are created, which when fixed will tell us when receiver/sender.transport and receiver.sender.transport.transport will be non-null, which makes enumeration considerably simpler.

Got it then. Having something like an `ontransport` event on the sender/receiver could simplify a lot on the transport management.

I agree that having public getIceTransports() and getDtlsTransports() methods might not help much in most other cases. Although would it be helpful to have private sections in the spec to describe the steps to get all Ice and DTLS transports? That could be refactored/modified out from the `close()` method and be shared with other sections such as the connection state change event sections.

-- 
GitHub Notification of comment by soareschen
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1306#issuecomment-305705426 using your GitHub account

Received on Friday, 2 June 2017 06:54:16 UTC