Open Bug 1307996 Opened 8 years ago Updated 1 year ago

Implement RTCDtlsTransport.iceTransport

Categories

(Core :: WebRTC: Networking, enhancement, P2)

enhancement

Tracking

()

Tracking Status
firefox52 --- wontfix

People

(Reporter: drno, Assigned: bwc)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(4 keywords, Whiteboard: [spec-compliance])

Per latest webrtc spec we are missing the RTCDtlsTransport interface.
https://w3c.github.io/webrtc-pc/#rtcdtlstransport-interface

At least partially implementing this interface, specifically the |state| attribute and |onstatechange| event, would allow WebRTC site to detect for the first time if something went wrong with DTLS. Implementing these two should be easy as it only means we would expose internal variables of the transportlayerdtls code.

Allowing to fetch the remote certificate and getting a handle to the RTCIceTransport (bug 1307994) is probably a little bit more effort.
backlog: --- → webrtc/webaudio+
Rank: 20
Whiteboard: [spec-compliance]
Mass wontfix for bugs affecting firefox 52.
Mass change P2->P3 to align with new Mozilla triage process.
Priority: P2 → P3
Blocks: 1278299
Blocks: 1258411

We had to disable some stuff over in wpt (bug 1517444) for this recently.

See Also: → 1517444

Is this still on the roadmap?

With RTCDtlsTransport API: getRemoteCertificates the networking stack used by js-ipfs (js-libp2p) should be able to let WebRTC handle encryption & stream muxing in the browser, improving overall performance.

Roughly speaking, this is on the roadmap after get/setParameters is brought up to spec.

Assignee: nobody → mfroman
Alias: RTCDtlsTransport
Depends on: 1654399
Assignee: mfroman → nobody
Type: defect → task
Severity: normal → S3

Was misnamed. We have this, but are missing iceTransport, getRemoteCertificates(), and onerror. Repurposing. Will update wpt meta file links accordingly.

Summary: Implement the RTCDtlsTransport interface → Implement RTCDtlsTransport.iceTransport
No longer blocks: 1278299

Safari seems to partially support this (is missing RTCIceTransport.getRemoteCandidates()).

Priority: P3 → P2
Alias: RTCDtlsTransport
Type: task → enhancement
Assignee: nobody → docfaraday
You need to log in before you can comment on or make changes to this bug.